An entire CRUD application will be created with a Spring Boot REST API using Spring Data JPA, and on the front-end, Bootstrap with HTML, JavaScript, and jQuery will be used. The data will be stored in a PostgreSQL database.
- Install the development tools
- Create the Spring Boot REST API project with Maven
- Create the model and table in the database
- Create the repository with Spring Data
- Create an endpoint to list all users
- Install Postman for REST API testing
- Create an endpoint to save data to the database
- Create an endpoint to delete from the database
- Create an endpoint to search and update in the database
- Create an endpoint to query by name
- Install Maven to generate the deployment JAR on the server
- Define the application context
- Generate the Spring Boot JAR with Maven
- Create the home page with Bootstrap
- Install jQuery in the project
- Save data with AJAX, sending to the REST API at the save endpoint
- Create a modal screen to search and edit with an endpoint
- Create the delete routine with an endpoint
- Make final adjustments to the layout
How to run
./spring-boot-user-crud >
mvn clean && mvn install -DskipTests
mvn spring-boot:run