List of required tools:
- PostgreSQL 13
- Gradle v6.6.1 or gradlew
- Java 8
Use gradle inside root folder for app build.
gradlew build
PostgreSQL database should be installed and deployed.
Database connection should be configured inside application.yaml:
spring:
datasource:
url: <connection url>
driverClassName: org.postgresql.Driver
username: <database user name>
password: <database password>
By default deployable JAR file can be found in
\dev-school-app\build\libs
Simple deploy can be done by java jar command.
java -jar dev-school-app-1.0-SNAPSHOT.jar
Useful links
Swagger API: http://localhost:8080/swagger-ui.html
Swagger DOCS: https://swagger.io/docs/