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.
- Clone the repository:
git clone https://github.com/AnirudhMemani/FoodBlog.git
- Change the directory to the backend folder:
cd backend
- Install Express:
npm install express
- Install CORS:
npm install cors
- Install Mongoose:
npm install mongoose
-
Open the backend code and locate the
dbURL
variable. Replace its value with your database URL. -
Run the backend server:
npm start
- Change the directory to the frontend/foodblog folder:
cd frontend/foodblog
- Install Axios:
npm install axios
- Install React Router:
npm install react-router-dom
- Start the frontend development server:
npm run dev
Enjoy