Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erebelo/spring-mysql-demo
Java REST API project using Spring Boot 3 and MySQL database
https://github.com/erebelo/spring-mysql-demo
back-end backend backend-api backend-service java mysql mysql-database relational-database spring spring-boot springboot sql
Last synced: 4 days ago
JSON representation
Java REST API project using Spring Boot 3 and MySQL database
- Host: GitHub
- URL: https://github.com/erebelo/spring-mysql-demo
- Owner: erebelo
- License: mit
- Created: 2024-05-20T18:08:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T15:59:02.000Z (7 days ago)
- Last Synced: 2024-11-13T16:39:25.456Z (7 days ago)
- Topics: back-end, backend, backend-api, backend-service, java, mysql, mysql-database, relational-database, spring, spring-boot, springboot, sql
- Language: Java
- Homepage:
- Size: 234 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spring MySQL Demo
REST API project developed in Java using Spring Boot 3 and MySQL database.
## Requirements
- Java 17
- Spring Boot 3.x.x
- Apache Maven 3.8.6## Libraries
- [spring-common-parent](https://github.com/erebelo/spring-common-parent): Manages the Spring Boot version and provide common configurations for plugins and formatting.
## Run App
- Set the following environment variables: `DB_HOST`, `DB_PORT`, `DB_NAME`, `DB_USERNAME`, and `DB_PASSWORD`.
- Run the `SpringMySQLDemoApplication` class as Java Application.## Collection
[Project Collection](https://github.com/erebelo/spring-mysql-demo/tree/main/collection)
## DB Setup
[MySQL Server Setup](https://github.com/erebelo/spring-mysql-demo/tree/main/db-setup)
## Diagram
[Entity Relationship Diagram](https://github.com/erebelo/spring-mysql-demo/tree/main/db-setup/Entity%20Relationship%20Diagram.png)
## Script
[MySQL Demo Script](https://github.com/erebelo/spring-mysql-demo/tree/main/db-setup/mysql_demo_script.sql)