Giter Club home page Giter Club logo

recipe-sharing-application's Introduction

Flavor - A recipe sharing application

Flavor is a modern and user-friendly recipe sharing application built using the MERN (MongoDB, Express.js, React, Node.js) stack. This platform allows users to discover, share, and contribute their favorite recipes effortlessly. With a sleek and intuitive interface, Flavor provides a seamless experience for both cooking enthusiasts and those looking for culinary inspiration. Users can create accounts, post their own recipes, explore a diverse range of dishes, and engage with a vibrant community of fellow food lovers. Elevate your cooking journey with Flavor - where the joy of sharing meets the pleasure of cooking.

Tech Stack

MongoDB, Express JS, React, and Node JS (MERN)

Features

  • User authentication & authorization
  • Create, edit, and delete recipes
  • Add and delete comments on other's recipes

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PORT

MONGODB_USERNAME

MONGODB_PASSWORD

CLOUDINARY_APIKEY

CLOUDINARY_APISECRET

JWT_SECRETKEY

API Reference

Registration

  POST http://localhost:3000/auth/users/register

Login

  POST http://localhost:3000/auth/users/login

Get user by ID

  GET http://localhost:3000/auth/users/getUser/:userID

Logout

  POST http://localhost:3000/auth/users/logout

Get all recipes

  GET http://localhost:3000/recipe/recipes

Get selected recipe by ID

  GET http://localhost:3000/recipe/getSelectedRecipe/:recipeID

Create recipe

  POST http://localhost:3000/recipe/createRecipe

Update recipe

  PATCH http://localhost:3000/recipe/updateRecipe/:recipeID

Delete recipe

  DELETE http://localhost:3000/recipe/deleteRecipe/:recipeID

Add comment

  POST http://localhost:3000/recipe/addComment/:recipeID

Delete comment

  POST http://localhost:3000/recipe/deleteComment/:recipeID

Run Locally

Clone the project

  git clone https://github.com/gurudattpuranik25/Recipe-sharing-application.git

To start the server

  cd backend (from root directory)
  npm install
  node index.js

To start the client

  cd frontend (from root directory)
  npm install
  npm run dev

Feedback

If you have any feedback, please reach out to me at [email protected]

recipe-sharing-application's People

Contributors

gurudattpuranik25 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.