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.
MongoDB, Express JS, React, and Node JS (MERN)
- User authentication & authorization
- Create, edit, and delete recipes
- Add and delete comments on other's recipes
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
POST http://localhost:3000/auth/users/register
POST http://localhost:3000/auth/users/login
GET http://localhost:3000/auth/users/getUser/:userID
POST http://localhost:3000/auth/users/logout
GET http://localhost:3000/recipe/recipes
GET http://localhost:3000/recipe/getSelectedRecipe/:recipeID
POST http://localhost:3000/recipe/createRecipe
PATCH http://localhost:3000/recipe/updateRecipe/:recipeID
DELETE http://localhost:3000/recipe/deleteRecipe/:recipeID
POST http://localhost:3000/recipe/addComment/:recipeID
POST http://localhost:3000/recipe/deleteComment/:recipeID
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
If you have any feedback, please reach out to me at [email protected]