Giter VIP home page Giter VIP logo

urbanharvest's Introduction

UrbanHarvest

๐ŸŒฑ Urban Harvest: Revolutionizing Food Delivery with Sustainability and Freshness ๐ŸŒฑ

Introduction

FoodMania 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ย 

Database:

MongoDBย 

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.
  • 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/vanshdhawan60/FoodMania
    cd UrbanHarvest
  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
    
  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

๐Ÿ‘ค Developer

Kunal Rawat

๐Ÿ“ฌ 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!

urbanharvest's People

Contributors

ku0904 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.