Skip to content

This is a full stack Food Delivery Website created using React, Node.js, Express.js, MongoDB, JSON Web Tokens and Payment Integration with Stipe.

License

Notifications You must be signed in to change notification settings

Codder-lab/snacc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snacc: Food Delivery App 🍔🍕🥗

Snacc is a full-stack MERN (MongoDB, Express.js, React, Node.js) application designed to provide a seamless food delivery experience for users. It allows customers to browse menus, place orders, and track deliveries, while restaurants can manage their orders and menus efficiently.

Features

  • User Authentication: Sign up and log in functionality for customers and restaurants.
  • Order Food: Add items to the cart, place orders, and pay securely.
  • Track Orders: Real-time tracking of the order status.
  • Admin Panel: Manage orders, update menus, and view order history.

Tech Stack

Frontend: React

Backend: Node.js, Express.js

Database: MongoDB

Authentication: JWT (JSON Web Tokens)

Payment Gateway: Integration with Stripe

Installation

To run this project locally, follow these steps:

Prerequisites

  • Node.js (version 14.x or higher)
  • MongoDB (local or cloud instance)
  • Git

Setup Instructions

  1. Clone the repository
git clone https://github.com/Codder-lab/snacc.git
cd snacc
  1. Install dependencies for backend, frontend and admin:
cd backend
npm install

cd ../frontend
npm install

cd ../admin
npm install
  1. Set up environment variables:
JWT_SECRET=your_jwt_secret
STRIPE_SECRET_KEY=your_stripe_secret_key
  1. Run the development server:
  • Backend:
cd backend
npm run server
  • Frontend:
cd frontend
npm run dev
  • Admin:
cd admin
npm run dev

The app will run on http://localhost:5174 (frontend), http://localhost:4000 (backend) and http://localhost:5173 (admin).

Usage

  • Customer: Sign up, browse food items, add items to the cart, place orders & make payment, and track the delivery status.

  • Admin: Log in to the admin panel, manage orders, and update menus.

License

License: MIT

Contact

For any inquiries or suggestions, please reach out to:

About

This is a full stack Food Delivery Website created using React, Node.js, Express.js, MongoDB, JSON Web Tokens and Payment Integration with Stipe.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published