Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)