Skip to content

A website based on MERN stack for generating recipes.

Notifications You must be signed in to change notification settings

techrajat/recipegenius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RecipeGenius.mp4

RecipeGenius

Description

RecipeGenius is a web application built using the MERN (MongoDB, Express, React, Node.js) stack. It provides a user-friendly interface for generating recipes.

Key Features

  • Recipe Generation: Generate recipes based on various criteria such as recipe names, ingredients, nutrients, cuisines, and more. Get inspired and discover new and exciting dishes.

  • Personalized Experience: Registered users can log in to RecipeGenius and access a personalized list of recipes they have liked. Save your favorite recipes and easily access them for future reference.

  • User-Friendly Interface: RecipeGenius offers an intuitive and user-friendly interface, making it easy to navigate, search for recipes, and explore different options.

Prerequisites

Before running the RecipeGenius application, make sure you have the following prerequisites installed:

Installation

  1. Clone the repository:
git clone https://github.com/techrajat/recipegenius.git
  1. Obtain Spoonacular API key:

    • Visit Spoonacular API and create an account (if you don't have one).
    • Request an API key from Spoonacular.
  2. Rename the file .env.example and replace api key:

    • Rename .env.example file to .env in the root folder of the app.
    • Open .env file and replace my-api-key in REACT_APP_API_KEY="my-api-key" with your actual Spoonacular API key.
  3. Open a terminal and start the MongoDB local server:

Note: If you already have MongoDB local server running, you can skip this step.

mongod
  1. In a new terminal, navigate to the backend folder:
cd recipegenius/backend
  1. Install backend dependencies:
npm install
  1. Start the Node.js backend:
node index.js

or

nodemon index.js
  1. In a new terminal, go back to the root folder:
cd ../
  1. Install frontend dependencies:
npm install
  1. Start the React frontend:
npm start

Usage

Once the backend and frontend servers are running, open your web browser and visit http://localhost:3000 to access the RecipeGenius application.

Credits

Contributing

Contributions to RecipeGenius are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

About

A website based on MERN stack for generating recipes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published