Posts

Showing posts with the label Spring Boot projects

Spring Boot + Thymeleaf + Spring Data JPA CRUD Example

Image
Hello everyone, In this post we will learn how to develop a  CRUD web application, using Spring Boot, Thymeleaf, Spring Data JPA and H2 Database. Technologies Used: Java 17 Spring Boot 2.7.0 Spring Data JPA Thymeleaf template engine Maven 3+ Bootstrap 4 H2 Database Project Directory: Pom.xml <? xml version ="1.0" encoding ="UTF-8" ?> < project xmlns ="http://maven.apache.org/POM/4.0.0" xmlns:xsi ="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation ="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" > < modelVersion >4.0.0</ modelVersion > < parent > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-starter-parent</ artifactId > < version >2.7.0</ version > < relativePath /> </ parent > < artifactId >springboot-thymeleaf-jpa-crud</ artifactId

Spring Boot + PostgreSQL + Vue.js CRUD: Full stack development example

Image
Hello everyone, In this article, we will learn how to build a full-stack application that is a basic User Management Application using Spring Boot, PostgreSQL, and Vue.js.The  GitHub repository link is provided at the end of this tutorial. You can download the source code. After completing this tutorial what we will build?   We will build a full-stack web application that is a basic User Management Application with CRUD features:  • Create User • List User  • Update User • Delete User  We divided this tutorial into two parts PART 1 - Rest APIs Development using Spring Boot and PostgreSQL PART 2 - UI development using Vue.js, Axios & Bootstrap PART 1 - Rest APIs Development using Spring Boot & PostgreSQL These are APIs that Spring backend App will export:   GET all User's        :     /api/v1/users             : Get  GET User by ID      :     /api/v1/users/{id}       : Get CREATE User        :     /api/v1/users             : Post UPDATE User        :     /api/v1/users/{id}