GithubHelp home page GithubHelp logo

hungry-uber-eats's Introduction

Hungry? UberEats

UberEats is a food delivery platoform built using the MERN stack, facilitating both customers and restaurants. New users could create restaurants or food seekers can browse restaurants to deliver food! After creating an account, users can browse restaurants by location, by food type, by delivery type or by searching dish names. Customers can add dishes to cart, create an order to a restaurants. These orders could be allowed to be picked up or delivered by the restaurant. Restaurants have the capability to update the order status for each customer and view all customer orders through various filters.

Token based authentication is configured in the backend. The application is configured with message queue middleware to handle large number of concurrent requests made to the server.

image

To start the application, .env files have to be created within each folder. These files should include parameters as listed below:

  • Backend/.env

    • TOKEN_SECRET
    • MONGO_URI
    • MONGO_TEST_URI
  • Frontend/.env

    • TOKEN_SECRET
    • REACT_APP_S3_BUCKET_NAME
    • REACT_APP_ACCESS_KEY
    • REACT_APP_SECRET_ACCESS_KEY
  • kafka-backend/.env

    • TOKEN_SECRET
    • MONGO_URI

The TOKEN_SECRET has to be a randomly generated string of characters used for JWT authentication. The MONGO_URI is the URI for MongoDB cloud cluster. The Frontend folder env file consists of AWS S3 credentials where the images of the folder could be uploaded.

After setting this up, run npm i in each of the folders. Later start the backend, kafka-backend and frontend in order. You can access the application in your browser at port 3000 on your localhost.

Screenshots

Screenshot from 2021-10-10 23-51-56 Screenshot from 2021-10-10 23-52-20 Screenshot from 2021-10-10 23-52-34 Screenshot from 2021-10-10 23-52-44 Screenshot from 2021-10-10 23-52-59 Screenshot from 2021-10-10 23-53-10 Screenshot from 2021-10-10 23-53-45 Screenshot from 2021-10-10 23-53-53 Screenshot from 2021-10-10 23-54-00 Screenshot from 2021-10-10 23-54-09

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.