AnirudhMemani / FoodBlog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FoodBlog

FoodBlog is a web application that allows users to share food-related content such as recipes, restaurant reviews, and cooking tips. It provides an interactive interface for creating, editing and viewing food-related content.

Installation and Setup

  1. Clone the repository:

git clone https://github.com/AnirudhMemani/FoodBlog.git

Backend

  1. Change the directory to the backend folder:

cd backend

  1. Install Express:

npm install express

  1. Install CORS:

npm install cors

  1. Install Mongoose:

npm install mongoose

  1. Open the backend code and locate the dbURL variable. Replace its value with your database URL.

  2. Run the backend server:

npm start

Frontend

  1. Change the directory to the frontend/foodblog folder:

cd frontend/foodblog

  1. Install Axios:

npm install axios

  1. Install React Router:

npm install react-router-dom

  1. Start the frontend development server:

npm run dev

Enjoy

About


Languages

Language:CSS 66.1%Language:SCSS 30.6%Language:JavaScript 3.2%Language:HTML 0.1%