- Local Apache and MySQL server.
- Java 14.
- Clone or download this repository (DreamJournalAPI)
- Insert "dreamjournal_db.sql" in your local MySQL server.
- Open this project in IntelliJ.
- Wait for Maven to install / index the dependencies.
- Open src/main/resources/application.properties, add your MySQL username to: "spring.datasource.username=" and add your MySQL password to: "spring.datasource.password=".
- Open the "Maven" menu on the right of the screen.
- Click on "DreamJournal API" -> "Lifecycle" -> "package"
- Run target/backendapi-0.0.1-SNAPSHOT.jar