Recipe Search App is a Java application that allows users to search for recipes based on various criteria such as vegetarian, servings, and ingredients. It provides a convenient way for users to find recipes that match their preferences and dietary requirements.
- Search for recipes based on criteria such as vegetarian, servings, and ingredients.
- Retrieve detailed information about each recipe, including instructions.
- Handle cases where no recipes are found matching the search criteria.
- Provide a user-friendly and intuitive interface for searching recipes.
- Java
- Spring Boot
- Spring Data JPA
- MySQL
- Maven
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd recipe-app
- Build & run the project:
./gradlew bootRun
The application provides a RESTful API for searching recipes. Detailed documentation can be found at http://localhost:8080/swagger-ui/index.html
when the application is running.
To run the tests for the application, execute the following command:
./gradlew test
The application can be deployed to a server or cloud platform using the following steps:
- Build the project:
./gradlew build -x test
- Deploy the generated demo.jar file to the target environment.
- Start the application using the command: java -jar demo-0.0.1-SNAPSHOT.jar
- When I added Spring Doc to Spring Boot 3, tests will not run. I excluded some Spring Doc classes but it seems that is not working. At the end I disabled swagger then tests are working now!