Skip to content

The Recipe Management System is a comprehensive web application designed for one of my job interviews. It allows for making a recipe book, editing and deleting recipes.

Notifications You must be signed in to change notification settings

vuxxs/recipe-manager-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Management System

The Recipe Management System is a web application that allows users to create, view, update, and delete recipes. It provides a user-friendly interface for managing recipes and includes features such as pagination, search, and bulk operations.

Features

  • Create new recipes with a title, ingredients, and instructions
  • View a list of recipes with pagination
  • Edit and update existing recipes
  • Delete recipes
  • Search recipes by title or ingredients
  • Perform bulk creation of recipes

Technologies Used

  • Frontend:

    • Next.js with TypeScript
    • Tailwind CSS for styling
    • React Bootstrap for pagination
    • React Toastify for notifications
  • Backend:

    • FastAPI for building the API
    • SQLAlchemy for database ORM
    • Pydantic for data validation and serialization
    • PostgreSQL as the database

Getting Started

  1. Clone the repository:
git clone https://github.com/your-username/recipe-management-system.git
  1. Install the dependencies:
  • Frontend:
    cd frontend
    npm install
    
  • Backend:
    cd backend
    pip install -r requirements.txt
    
  1. Set up the database:
  • Create a PostgreSQL database
  • Update the database connection URL in backend/database.py
  1. Start the development servers:
  • Frontend:
    cd frontend
    npm run dev
    
  • Backend:
    cd backend
    uvicorn main:app --reload
    
  1. Open your browser and visit http://localhost:3000 to access the application.

API Endpoints

  • GET /recipes: Retrieve a list of recipes with pagination and search functionality
  • GET /recipes/:id: Retrieve a single recipe by its ID
  • POST /recipes: Create a new recipe
  • PUT /recipes/:id: Update an existing recipe by its ID
  • DELETE /recipes/:id: Delete a recipe by its ID
  • POST /recipes/bulk: Create multiple recipes in a single request

License

This project is licensed under the MIT License.

About

The Recipe Management System is a comprehensive web application designed for one of my job interviews. It allows for making a recipe book, editing and deleting recipes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published