Spring Boot JdbcTemplate & PostgreSQL example: CRUD App

In this tutorial, we’re gonna build a Spring Boot Rest CRUD API example that use Spring JdbcTemplate to interact with PostgreSQL database. You’ll know:

  • How to configure Spring Data JDBC to work with Database
  • How to define Data Models and Repository interfaces
  • Way to create Spring Rest Controller to process HTTP requests
  • Way to use Spring JdbcTemplate to interact with PostgreSQL Database

Exception Handling:
Spring Boot @ControllerAdvice & @ExceptionHandler example
@RestControllerAdvice example in Spring Boot

Using Spring Data JPA instead:
Spring Boot, JPA/Hibernate, PostgreSQL example

Read More

angular-12-spring-boot-postgresql-example-crud-feature-image

Angular 12 + Spring Boot + PostgreSQL example: Build CRUD App

In this tutorial, we will learn how to build a full stack Angular 12 + Spring Boot + PostgreSQL example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with PostgreSQL database. Front-end side is made with Angular 12, HTTPClient, Router and Bootstrap 4.

Older versions:
Angular 10 + Spring Boot + PostgreSQL example: CRUD App
Angular 11 + Spring Boot + PostgreSQL example: CRUD App

Security: Angular 12 + Spring Boot: JWT Authentication & Authorization example
Upload: Angular 12 + Spring Boot: File upload example
Pagination: Angular 12 + Spring Boot: Pagination example

Read More

angular-12-spring-boot-crud-example-feature-image

Angular 12 + Spring Boot: CRUD example

In this tutorial, we will learn how to build a full stack Spring Boot + Angular 12 example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with embedded database (H2 database). Front-end side is made with Angular 12, HttpClient, Router and Bootstrap 4.

Run both Project on same server/port:
How to Integrate Angular with Spring Boot Rest API

Security: Angular 12 + Spring Boot: JWT Authentication & Authorization example

Upload: Angular 12 + Spring Boot: File upload example

Pagination: Angular 12 + Spring Boot: Pagination example

Read More

angular-12-node-express-postgresql-example-crud-feature-image

Angular 12 + Node.js Express + PostgreSQL example: CRUD App

In this tutorial, I will show you how to build a full-stack (Angular 12 + Node.js + Express + PostgreSQL) example with a CRUD Application. The back-end server uses Node.js + Express for REST APIs, front-end side is an Angular App with HTTPClient.

Related Posts:
Angular + Node.js Express: JWT Authentication & Authorization example
Server side Pagination with Node.js and Angular
File Upload using Angular and Node.js

Run both projects in one place:
How to Integrate Angular with Node.js Restful Services

Serverless with Firebase:
Angular Firebase CRUD Realtime DB | AngularFireDatabase
Angular Firestore CRUD example | AngularFireStore

Read More

spring-boot-vue-js-crud-example-feature-image

[Full-stack] Spring Boot + Vue.js: CRUD example

In this tutorial, we will learn how to build a full stack Spring Boot + Vue.js example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with embedded database (H2 database). Front-end side is made with Vue & Vue Router.

Related Posts:
Spring Boot + Vue.js: Authentication with JWT & Spring Security Example
Spring Boot + Vue.js + MySQL: CRUD example
Spring Boot + Vue.js + PostgreSQL: CRUD example
Spring Boot + Vue.js + MongoDB: CRUD example

More Practice: Vue + Spring Boot: File Upload example

Run both Project on same server/port:
How to integrate Vue.js with Spring Boot

Other Databases:

Serverless with Firebase:
Vue Firebase Realtime Database: CRUD example
Vue Firestore: Build a CRUD App example

Read More

JWT Refresh Token implementation in Node.js example

We’ve known how to build Token based Authentication & Authorization with Node.js, Express and JWT. This tutorial will continue to implement JWT Refresh Token in the Node.js Application. You can know how to expire the JWT, then renew the Access Token with Refresh Token.

Using MongoDB instead:
JWT Refresh Token implementation in Node.js and MongoDB

Related Posts:
Node.js Rest APIs example with Express, Sequelize & MySQL
Node.js Express File Upload Rest API example using Multer

Associations:
Sequelize One-to-Many Association example
Sequelize Many-to-Many Association example

Deployment:
Deploying/Hosting Node.js app on Heroku with MySQL database
Dockerize Node.js Express and MySQL example – Docker Compose

The code in this post bases on previous article that you need to read first:
Node.js JWT Authentication & Authorization with MySQL example
Node.js JWT Authentication & Authorization with PostgreSQL example

Read More