Spring Boot RESt API demo is demonstrating how to implement simple CRUD operations with a User entity.
This project is based on the Spring Boot project and uses these packages :
- Maven
- Spring Core
The project is created with Maven, so you just need to import it to your IDE and build the project to resolve the dependencies
Run the project and head out to [http://localhost:8080]
- {[/api/user/],methods=[GET]} - list all users
- {[/api/user/{id}],methods=[GET]} - list specific user
- {[/api/user/],methods=[POST]} - Create a user
- {[/api/user/{id}],methods=[PUT]} - Update a user
- {[/api/user/],methods=[DELETE]} - Delete all users
- {[/api/user/{id}],methods=[DELETE]} - Delete a apecific user