Skip to content

The Recipe Recommendation API is a backend solution designed to enhance user engagement and simplify the cooking experience. It offers personalized recipe recommendations, advanced search capabilities, and ingredient-based filtering for users to explore and save recipes effortlessly.

Notifications You must be signed in to change notification settings

SamarMedhat7/Recipe-Recommendation-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Recipe Recommendation API

The Recipe Recommendation API is a backend application for discovering, managing, and recommending recipes. It offers personalized recommendations, ingredient-based filtering, and advanced search capabilities to simplify recipe discovery and enhance user engagement.


Features

  • User Management:

    • Secure user registration and login with token-based authentication.
    • Save and manage favorite recipes.
  • Recipe Management:

    • Create, view, update, and delete recipes.
    • Filter recipes by ingredients.
    • Search recipes by titles or keywords.
  • Personalized Recommendations:

    • Suggest recipes based on user-provided ingredients.
    • Match recipes using ingredient similarity scoring.
  • Feedback and Ratings:

    • Collect and display user feedback for recipes.
    • Highlight top-rated recipes.

Tech Stack

  • Backend: Django REST Framework
  • Authentication: Token-based authentication (DRF Tokens)
  • Similarity Scoring: RapidFuzz
  • Database: SQLite (can be switched to PostgreSQL or MySQL)

API Endpoints

Endpoint Method Description
/register/ POST Register a new user
/login/ POST Login and receive an auth token
/recipes/ GET List all recipes
/recipes/ POST Create a new recipe
/recipes/<id>/ GET Retrieve a recipe by ID
/recipes/<id>/ PUT Update a recipe by ID
/recipes/<id>/ DELETE Delete a recipe by ID
/recipes/search/?q=<query> GET Search recipes by title
/recipes/filter/ GET Filter recipes by ingredients
/recommend/ POST Recommend recipes by ingredients
/recipes/top/ GET Get top-rated recipes
/recipes/<id>/feedback/ POST Add feedback to a recipe
/user/saved-recipes/ GET List user-saved recipes
/user/saved-recipes/ POST Save a recipe for the user

About

The Recipe Recommendation API is a backend solution designed to enhance user engagement and simplify the cooking experience. It offers personalized recipe recommendations, advanced search capabilities, and ingredient-based filtering for users to explore and save recipes effortlessly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages