Crafted this Food Ordering App using the MERN (MongoDB, Express.js, React, Node.js) stack along with Redux Toolkit. The app comes packed with a variety of features, such as exploring restaurants, browsing menus, adding items to your cart, placing orders, and more.
- React JS
- Express JS
- Node JS
- MongoDB
- Redux Toolkit
- JWT Authentication
- Material UI
- SwaggerUI
- User Registration and Authentication
- user Profiles
- Browse Restaurants
- View Restaurant Menus
- Add Items to the Cart
- Place and Track Orders
- Admin Dashboard (for restaurant owners)
Follow these steps to set up and run the application locally:
- Node.js and npm (Node Package Manager) installed.
- MongoDB installed and running.
-
Clone the repository:
git clone https://github.com/your-username/food-ordering-app.git cd food-ordering-app
-
Install server dependencies:
cd server npm install
- Configure server environment variables:
Create a .env file in the server directory and configure the following variables.
PORT=8000
-
Install client dependencies: cd client npm install
-
Inside the cd client, run this-- npm run dev