A comprehensive solution for storing and retrieving recipe XML files. With this tool, you can easily save recipes in XML format to a database, while also organizing them by categories and recipe names. The API enables efficient searching and filtering, allowing you to quickly access recipes based on specific preferences. Seamlessly integrate this API into your applications, websites, or platforms, and enjoy the scalability, reliability, and ease of managing your recipe collection. Simplify your recipe management process and provide an exceptional user experience with the Recipe API.
For building and running the application you need:
This project contains a Docker Compose file named compose.yaml.
In this file, the following services have been defined:
- postgres:
postgres:latest
As Database, PostgreSQL was used. You could find the DDL file for schema and table creation for the database.
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the com.example.recipeapi.RecipeApiApplication class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:runThere is a postman collection for sample requests available in following.
You could find the following libraries that I use:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Docker Compose Support
- Rest Repositories
- Spring Configuration Processor
- Spring Web
- Spring Boot DevTools
- Accessing JPA Data with REST
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring