Backend application for the TripGo travel platform, built with Spring Boot, Java 21, PostgreSQL, Spring Data JPA, Flyway, Spring Security, and Thymeleaf.
- Java 21
- PostgreSQL
- Docker (for integration tests)
The Maven Wrapper is included, so a separate Maven installation is not required.
Create a local environment file from the provided template:
cp .env.example .envUpdate .env, then export its values in the current shell before starting the
application:
set -a
source .env
set +aDB_URL and DB_USERNAME have local defaults. DB_PASSWORD is required in every
environment; the application fails to start when it is missing.
./mvnw spring-boot:run./mvnw testIntegration tests start PostgreSQL 17 with Testcontainers, apply all Flyway migrations, and require Docker to be running.
./mvnw clean package