Skip to content

codewithpradip/recipe-api

Repository files navigation

Recipe API

This project provides a REST API for managing recipes. It allows users to create, read, update, and delete recipes, as well as tags and ingredients associated with each recipe. Additionally, users can filter, search, and sort recipes, and upload images for their recipes. The API is built using Python, Django, and Django REST framework, with a PostgreSQL database and Docker for containerization. The API documentation is available using Swagger. This project is open for contributions, and instructions for contributing are provided in the README file.

Features

  • User authentication (signup, login)
  • Recipe CRUD (create, read, update, delete)
  • Tag and Ingredient CRUD
  • Filtering, searching and sorting recipes
  • Image upload for recipes

Technologies Used

  • Python
  • Django
  • Django REST framework
  • PostgreSQL
  • Docker

Getting Started

NOTE: Please ensure that You have to install Docker and Docker Compose.

  1. Clone the repository to your local machine:
git clone https://github.com/codewithpradip/recipe-api.git
  1. Start Container
docker compose up
  1. The API documentation can be found at: http://127.0.0.1:8000/api/docs/

Contribute

Feel free to to improve this project. If you have awesome ideas on your mind, please don't hesitate to open a pull request.

  1. Fork the repository.
  2. Create a new branch for your changes.
  3. Make your changes and commit them with a clear commit message.
  4. Push your branch to your forked repository.
  5. Create a pull request to merge your changes into the main repository.

NOTE: Please ensure that your code follows the existing style and passes all tests before submitting a pull request. Also, make sure to include a clear description of the changes you have made and why they are necessary.

Thanks

Thank you for using checking this project. If you like this portfolio template don't forget give it a ⭐, it motivates me 😄.