Template for a Spring application with hexagonal architecture + DDD focused on REST API
- Java SE 17
- Deployed PostgreSQL database
-
Build the project using Gradle
./gradlew build
-
Configure environment variables in
application.properties
${DATASOURCE_URL}
${DATASOURCE_USERNAME}
${DATASOURCE_PASSWORD}
-
Run the application:
./gradlew bootRun