Giter Club home page Giter Club logo

foodie-backend's Introduction

Use SOLID principles

Create validation middleware with validation rules for req.body, req.params, req.query

Controller Layer Service Layer Data Access Layer

Middlewares - Authentication, logging, Error Handling, session based authentication Redis Utils Role based authentication

Proper commenting and documentation Use Swagger to detect endpoints for documentation

Write script to automate deployment

Database - MongoDB (use populate function to add to data query) Server - Render / Heroku

Create web sockets for handling orders, deliveries and tracking.

Use agendajs for scheduling

UberEats Clone Working Process: The customer places a new order The restaurant accepts/rejects the new order If the restaurant accepts the order, it is assigned to a driver that is available nearby therestaurant. The driver can decide to either accept or reject the order If the driver accepts the order, he is assigned to pick up and drop delivery The driver reaches the restaurant to pick up the order. Once the order is picked, the driverupdates the status in the app for the customer After delivery, the driver can mark the order as completed on the driver app If the driver rejects the order, the dispatch starts again from a driver available nearby. Customers can track all the order delivery status on their delivery app. App uses Fluttercode for making most of the order updates mentioned above. But there is some difference in the delivery system as it works on the backend side, it will have access to all available nearby drivers and restaurants.

foodie-backend's People

Contributors

nerdydave2017 avatar

Stargazers

 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.