This is the result project for the session 1, where you can find the following:
- Spring Boot - initializr project
- Start coding App - configs and needed classes
- Using Maven
- Set H2DB
- Spring Profiles
- TDD - Test first
- CRUD - full entity in DB
- Testing in Postman
- Testing - Embedding Swagger
- MacOS / Linux
$ ./mvnw spring-boot:run
- Windows
$ mvnw spring-boot:run
$ ./mvnw spring-boot:run -Dspring.profiles.active=prod
- HTTP.GET
http://localhost:8000/
http://localhost:8000/hi?name=Johnny
http://localhost:8000/musicians
http://localhost:8000/musicians/2
- HTTP.POST
http://localhost:8000/musicians
http://localhost:8000/musicians/2
- HTTP.PATCH
http://localhost:8000/musicians/2
- HTTP.DELETE
http://localhost:8000/musicians/2
- Console H2
http://localhost:8000/h2