Skip to content

Latest commit

 

History

37 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe-App

A Recipe app that can house recipes for future use, built with React.js, Node.js, and MongoDB/PostgreSQL.

Table of Contents

Introduction

Recipe-App is a web application designed to store and manage recipes. It allows users to add, view, update, and delete recipes. The app is built with a modern tech stack including React.js for the frontend, Node.js with Express for the backend, and MongoDB for the database.

Tech Stack

  • Frontend: React.js
  • Backend: Node.js with Express
  • Database: MongoDB

Features

  • Add new recipes with ingredients, instructions, and cuisine type.
  • Edit and delete existing recipes.
  • Filter recipes by cuisine type.
  • Lazy loading for improved performance.

How to run the app

1.	Clone the repository
2.	Run npm install in the root directory
3.	Run npm start in the root directory
4.	Run cd recipe-backend
5.	Run npm install in the recipe-backend directory
6.	Create a .env file in the recipe-backend directory with the following contents:
MONGO_URI=your_mongodb_uri_here
PORT=5001
7.	Run node server.js in the recipe-backend directory
8.	Go to http://localhost:9000/ in your browser

File Structure

recipe-app/
├── dist/
├── node_modules/
├── recipe-backend/
│   ├── models/
│   │   └── recipe.js
│   ├── node_modules/
│   ├── routes/
│   │   └── recipes.js
│   ├── .env
│   ├── package-lock.json
│   ├── package.json
│   └── server.js
├── src/
│   ├── components/
│   │   ├── Navbar.js
│   │   ├── Navbar.css
│   │   ├── Home.js
│   │   ├── About.js
│   │   ├── Recipes.js
│   ├── index.js
│   ├── index.css
│   ├── index.html
├── .babelrc
├── .gitignore
├── package-lock.json
├── package.json
├── README.md
├── webpack.config.js

Further Improvements

  • Add Remarks: Allow users to add remarks to recipes.
  • OCR Integration: Use Optical Character Recognition (OCR) to extract ingredients from receipts and add them to the ingredient database.
  • Image Upload: Add functionality to upload images of the recipes.
  • Search Functionality: Implement a search feature to find recipes easily.
  • Sorting Options: Enable sorting of recipes by name, date, etc.
  • Share Recipes: Add a feature to share recipes via social media or email.
  • Print Recipes: Allow users to print recipes.
  • Favorite Recipes: Enable users to save recipes to their favorites.
  • Shopping List: Create a shopping list from selected recipes.
  • Measurement Conversion: Add tools to convert measurements, temperatures, and units in recipes.
  • Serving Size Adjustment: Allow users to adjust ingredient quantities based on serving sizes.
  • Enhanced Notes and Tags: Add notes and tags to recipes for better categorization.

To Do

  • Improve the user interface (UI).
  • Enhance error handling and validation.
  • Fix issues with adding new cuisine types.
  • Implement image uploads for recipes.
  • Add a remarks section for recipes.

Note

  • The above further improvements are ideas and may not all be feasible or practical.

Feel free to contribute to the project by submitting a pull request or opening an issue for any bugs or feature requests. Your contributions are highly appreciated!

About

Making a Recipe app that can house recipe for future use

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages