Skip to content

Mern-Eats – your premier food delivery solution crafted with the MERN stack. Mern-Eats ensures a seamless experience, bringing a variety of delectable cuisines to your doorstep with just a few clicks.

Notifications You must be signed in to change notification settings

rajeevkrS/Food-Delivery-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MernEats.com

This application is deployed on Render. Please check it out here.

MernEats

Introduction

Mern-Eats.com is a full-stack web application that enables users to browse through a variety of dishes, place orders, track their order in real time and get food delivered to their doorstep efficiently. The application leverages the power of the MERN stack (MongoDB, Express.js, React.js, Node.js) to ensure a seamless user experience and robust performance.

🖥️ Tech Stack

Frontend:

React  React Router  Static Badge  Static Badge 

Backend:

Static Badge   Static Badge   MongoDB 

Payment Getway:

Stripe 

Deployed On:

Render 

Features

  • User Authentication: Secure login and registration system.
  • Browse: Easily browse their favourite dishes.
  • Order Placement: Simple and intuitive process for placing orders.
  • Order Tracking: Real-time tracking of orders from preparation to delivery.
  • Payment Gateway: Secure payment processing.
  • Admin Dashboard: Admin interface for managing food and orders.
  • Responsive Design: Fully responsive design for seamless use on any device.

Installation

  1. Clone the repository:

    git clone https://github.com/rajeevkrS/Food-Delivery-App
    cd food-delivery-app
  2. Install dependencies in admin, backend and frontend:

    cd admin
    npm install
    
    cd backend
    npm install
    
    cd frontend
    npm install
  3. Set up environment .env variables:

    # for mongo database
    MONGODB_URI= your mongo url
    
    # for password secret
    JWT_SECRET = your jwt secret
    
    # for stripe payment
    STRIPE_SECRET_KEY= your stripe secret key
  4. Run the application: In the admin directory, start the React app:

    npm run dev

    In the backend directory, start the server:

    npm run server

    In the frontend directory, start the React app:

    npm run dev

API Endpoints

Here are listed all available API endpoints along with a brief description of each.

  • POST /api/user/register: creating new user

  • POST /api/user/login: user logged in

  • POST /api/cart/add: add foods from user's cart

  • POST /api/cart/remove: remove foods from user's cart

  • POST /api/cart/get: fetch foods from user's cart

  • POST /api/food/add: add food's image and its detail from admin pannel

  • GET /api/food/list: get list of all foods in admin pannel

  • POST /api/food/remove: remove foods from list from admin pannel

  • POST /api/order/place: place an order

  • POST /api/order/verify: verifying the order payment (success/failed)

  • POST /api/order/userorders: all orders of particular user

  • GET /api/order/list: get orders of all users in admin pannel

  • POST /api/order/status: update status of all orders

Admin Pannel Preview

Admin-Pannel

👤 Developer

RAJEEV KUMAR SUDHANSU

📬 Contact

If you want to contact me, you can reach me through below handles.

LinkedIn

Gmail

Contribution:

Feel free to contribute to the project by opening issues or creating pull requests. Your feedback and suggestions are highly appreciated.

Show your support by Star 🌟 this repo!

About

Mern-Eats – your premier food delivery solution crafted with the MERN stack. Mern-Eats ensures a seamless experience, bringing a variety of delectable cuisines to your doorstep with just a few clicks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published