Skip to content

Java REST API project using Spring Boot 3 and MySQL database

License

Notifications You must be signed in to change notification settings

erebelo/spring-mysql-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: Manages the Spring Boot version and provide common configurations for plugins and formatting.

Run App

  • Create a new database schema named: mysql_demo
  • 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

DB Setup

MySQL Server Setup

Diagram

Entity Relationship Diagram

Script

MySQL Demo Script