- JDK: 17
- Spring Boot
- Docker
- Maven
- Hibernate
- PostgreSQL
- Flyway
- Swagger/OpenAPI
- Lombok
-
Clone the repository:
git clone https://github.com/Alexiusss/trial_task cd trial_task -
Create a
.envfile in the project root with the following credentials:POSTGRES_USERPOSTGRES_PASSWORDPOSTGRES_DBPGDATA_PATH
-
Start the Docker container:
docker compose up -d
-
Build the project using Maven:
mvn clean install
-
Copy your
.envfile into the/target/folder:cp .env ./target/
-
Run the application:
java -jar ./target/*.jar -
Access the REST API documentation at:
Swagger UI - REST API Documentation