Open src/main/resources/application.properties
.
Change your username and password according to your MySQL Database.
mvn spring-boot:run
Methods | Urls | Actions |
---|---|---|
POST | /api/books | create new Book |
GET | /api/books | retrieve all Books |
GET | /api/books/:id | retrieve a Book by :id |
PUT | /api/books/:id | update a Book by :id |
DELETE | /api/books/:id | delete a Book by :id |
Access point: http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config