Skip to content

A full-stack application for food delivery built using React for the frontend, Node.js and Express.js for the backend API, and MongoDB for the database. This app allows users select food items, add them to the cart, and place orders for delivery. It includes features for user authentication, order management.

Notifications You must be signed in to change notification settings

ranju12k/FoodDelivery

Repository files navigation

Food Delivery App

Table of Contents

Introduction

Food Delivery App is a full-stack web application that allows users to register, log in, browse food items by category, place orders, and generate invoices. The app is built with React.js for the frontend, Node.js and Express.js for the backend, and MongoDB for the database.

Features

  • User Authentication (Sign Up & Log In)
  • Browse Food Items by Category
  • Place Food Orders
  • Search for Specific Categories of Food

Technologies Used

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Other: Mongoose (for MongoDB object modeling), JWT (for authentication), Axios (for making HTTP requests)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/food-delivery-app.git
    cd food-delivery-app
    
  2. Install dependencies:

    For backend

    cd backend npm install

    For frontend

    cd ../frontend npm install

  3. Set up environment variables: MONGODB_URI=mongodb://localhost:27017/fooddelivery JWT_SECRET=your_jwt_secret

  4. Run the application:

    Start backend server

    cd backend npm start

Start frontend development server

cd ../frontend npm start

usage

Register an account by navigating to the Sign Up page. Log in with your credentials. Browse food items by category. Place an order by adding items to your cart and proceeding to checkout. Generate an invoice for your order. Search for specific categories of food using the search feature.

contributing

Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.

screenshots

HOME PAGE:image Login PAGE:image SIGN-UP PAGE:image

About

A full-stack application for food delivery built using React for the frontend, Node.js and Express.js for the backend API, and MongoDB for the database. This app allows users select food items, add them to the cart, and place orders for delivery. It includes features for user authentication, order management.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published