Skip to content

namf2001/Web_Restaurent-fullstack

Repository files navigation

FOOD DELIVERY

Experience Seamless Food Ordering with Modern Technology

last commit javascript languages

Built with the tools and technologies:

JSON npm JavaScript React Node.js
Express MongoDB Tailwind CSS Stripe Swiper

Overview

Introducing Food Delivery, a comprehensive full-stack restaurant application designed to revolutionize the food ordering experience with modern web technologies.

Why Food Delivery?

This project provides a complete solution for restaurant businesses and food lovers, featuring:

  • πŸ• Interactive Menu Display: Beautiful and responsive menu with high-quality food images and detailed descriptions.

  • πŸ›’ Smart Cart Management: Real-time cart updates with quantity management and price calculations.

  • πŸ“± Mobile-First Design: Optimized for all devices with Tailwind CSS responsive design principles.

  • πŸ’³ Secure Payment Processing: Integrated Stripe payment system for safe and reliable transactions.

  • πŸ“Š Advanced Admin Dashboard: Complete backend management with calendar scheduling, order tracking, and analytics.

  • 🎨 Modern UI/UX: Clean, intuitive interface with Framer Motion animations and Lottie graphics.

Getting Started

Prerequisites

This project requires the following dependencies:

  • Runtime Environment: Node.js (v18+)
  • Database: MongoDB
  • Package Manager: npm or yarn

Installation

Build Food Delivery from the source and install dependencies:

  1. Clone the repository:
git clone https://github.com/yourUser/Web_Restaurent-fullstack
  1. Navigate to the project directory:
cd Web_Restaurent-fullstack
  1. Install backend dependencies:
cd backend && npm install
  1. Install frontend dependencies:
cd ../frontend && npm install

Configuration

  1. Create a .env file in the backend directory:
MONGODB_URI=your_mongodb_connection_string
PORT=5000
JWT_SECRET=your_jwt_secret
STRIPE_SECRET_KEY=your_stripe_secret_key
  1. Create a .env file in the frontend directory:
VITE_API_URL=http://localhost:5000
VITE_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key

Usage

Run the project with:

Backend Server:

cd backend && npm start

Frontend Development Server:

cd frontend && npm run dev

Testing

Build the project for production:

cd frontend && npm run build

Built with the tools and technologies

Frontend:

  • React - JavaScript library for building user interfaces
  • Vite - Next generation frontend tooling
  • Tailwind CSS - Utility-first CSS framework
  • Redux Toolkit - State management
  • Framer Motion - Animation library
  • React Router - Client-side routing
  • Swiper - Modern touch slider
  • Stripe - Payment processing
  • Chart.js - Data visualization
  • React DatePicker - Date selection components
  • AOS - Animate On Scroll library
  • Lottie Web - Animation rendering

Backend:

  • Node.js - JavaScript runtime environment
  • Express.js - Web application framework
  • MongoDB - NoSQL database
  • Mongoose - MongoDB object modeling
  • JWT - JSON Web Tokens for authentication
  • Bcrypt - Password hashing
  • Stripe - Payment processing API
  • Express Validator - Input validation
  • CORS - Cross-origin resource sharing
  • Moment.js - Date manipulation

Development Tools:

  • ESLint - Code linting
  • Nodemon - Development server
  • PostCSS - CSS processing
  • Autoprefixer - CSS vendor prefixing

Features

  • 🍽️ Dynamic Menu System: Browse categories, view detailed food items with images and descriptions
  • πŸ›’ Shopping Cart: Add/remove items, quantity management, real-time price updates
  • πŸ‘€ User Authentication: Secure login/register system with JWT tokens
  • πŸ“¦ Order Management: Place orders, track order status, comprehensive order history
  • πŸ’³ Payment Integration: Secure Stripe payment processing with multiple payment methods
  • πŸ“± Responsive Design: Seamless experience across desktop, tablet, and mobile devices
  • ⚑ Fast Performance: Optimized with Vite build tool and lazy loading
  • πŸ” Search & Filter: Advanced filtering options to find desired dishes quickly
  • ⭐ Reviews & Ratings: Customer feedback and rating system
  • πŸ“ Location Services: Delivery address management and location tracking
  • πŸ“… Reservation System: Table booking with calendar integration
  • πŸ“Š Admin Analytics: Comprehensive dashboard with charts and reporting
  • 🎨 Modern Animations: Smooth transitions with Framer Motion and Lottie
  • πŸ”” Real-time Notifications: Order updates and system notifications
  • πŸ“± Progressive Web App: App-like experience with offline capabilities

Design Reference

This project is based on the Figma design.

Preview

"Full Stack Web Restaurant | React Node MongoDB Tailwind"

"Full Stack Web Restaurant | React Node MongoDB Tailwind"

"Full Stack Web Restaurant | React Node MongoDB Tailwind"

"Full Stack Web Restaurant | React Node MongoDB Tailwind"

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages