- Overview
- Prerequisites
- Setting Up PostgreSQL and Redis Using Docker Compose
- Building and Running the Project
- Contributing
This is a Spring Boot API project that requires Java 17, PostgreSQL, and Redis. The project uses Maven for dependency management and build automation.
Before running the project, ensure you have the following installed:
- Java 17: Download and install from here.
- Docker and Docker Compose: Install Docker from here and Docker Compose from here.
-
Run the following command to start PostgreSQL and Redis:
docker-compose up -d
-
Ensure Java 17 is installed:
java -version
The output should be similar to:
java version "17.0.x" Java(TM) SE Runtime Environment (build 17.0.x) Java HotSpot(TM) 64-Bit Server VM (build 17.0.x, mixed mode)
-
Build the project using Maven:
mvn clean install
-
Run the project:
mvn spring-boot:run
Contributions are welcome! Please fork the repository and submit a pull request.