This service allows the consumer to search its recipe database for recipes that match the search criteria provided.
- Java 11
- maven
The maven wrapper is included with this project. You may need to grant permission to execute this file (or use your own wrapper or mvn directly)
chmod u+x mvnw
./mvnw compile
./mvnw test
- Open Intellij IDEA,
- File | New Project from Existing Sources
- Select the recipe-finder directory
- Select Import project from existing sources
- Select Maven
- Create a run configuration to run src/main/java/RecipeFinderApplication
This starts up a Java service with an in-memory database.
The Java service is dependent on the recipes API.
To import data into the database from the recipes API, send a GET request to http://localhost:8080/admin/import.
You can search for recipes by navigating to http://localhost:8080/recipes
The coding challenge is described in CHALLENGE.md.
To complete the challenge:
- Fork this repo
- Make your changes
- Commit and push to your fork
- Share your fork with < tbd email address >