The Culinary User Service is a Spring Boot application designed to manage users, recipes, ingredients, and related entities for a culinary application. It provides functionalities such as user management, recipe creation, ingredient management, and more.
-
Java 17 or higher
-
Gradle 7.0 or higher
-
PostgreSQL or H2 Database
git clone https://github.com/yourusername/culinary-user-service.git
cd culinary-user-service
Run docker compose to create redis and postgres containers
docker-compose up
The application is pre-configured to use an H2 in-memory database for testing purposes. No additional setup is required.
- Build the application:
./gradlew build
- Run the application:
Local profile:
./gradlew bootRun --args='--spring.profiles.active=local'
Dev profile:
Prerequisites: run docker compose to create redis and postgres containers
./gradlew bootRun --args='--spring.profiles.active=dev'
Once the application is running, you can access it at http://localhost:8080
.
Under swagger endpoint /swagger-ui/index.html#/
To run the tests, use the following command:
./gradlew test
This project is licensed under the MIT License. See the LICENSE
file for details.