https://github.com/camargomau/bookstore
This is a small Java Spring Boot project that I made as an exercise for learning the basics of Spring Boot, creating a few RESTful endpoints connected to a very simple MySQL database. Branch main is S1.84.04, swagger is S1.84.06.
https://github.com/camargomau/bookstore
java rest-api spring-boot
Last synced: 3 months ago
JSON representation
This is a small Java Spring Boot project that I made as an exercise for learning the basics of Spring Boot, creating a few RESTful endpoints connected to a very simple MySQL database. Branch main is S1.84.04, swagger is S1.84.06.
- Host: GitHub
- URL: https://github.com/camargomau/bookstore
- Owner: camargomau
- Created: 2025-03-06T04:12:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-03T02:18:21.000Z (over 1 year ago)
- Last Synced: 2025-10-04T23:51:35.589Z (9 months ago)
- Topics: java, rest-api, spring-boot
- Language: Java
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bookstore
This is a small Java Spring Boot project that I made as an exercise for learning the basics of Spring Boot, creating a few RESTful endpoints connected to a very simple MySQL database:
- GET, POST and PUT for `books` table
- GET, POST and PUT for `authors` table
- GET, POST and PUT for `publishers` table
The `database.sql` file is the SQL script (generated by MySQL Workbench's forward engineering) that can be run on MySQL to build the database I designed for this project. The corresponding diagram can be found in `database.jpg`.
Run the project with `./mvnw spring-boot:run` after having edited the `application.properties` file with your local configuration.