Giter VIP home page Giter VIP logo

food-delivery-app's Introduction

food-delivery-app

Spring Boot application based on microservices architecture.

Done

  • Search restaurant by name.
  • Get restaurant info.
  • Place order, get order details.
  • Make payment.
  • Handle payment errors, such as payment authorization timeout and invalid credit card info.

Currently it is assumed that all users are anonymous (not registered) and shopping cart is managed at the front end. Once we have the account-service in the future, the shopping cart service can be implemented at the back end.

TO DO

  • Take delivery distance, restaurant hours into consideration.
  • Add account-service to manage user registration and login.
  • Finish Spring Cloud platform.
  • Test system performance of handling high volume of requests.

System Architecture

alt image

Detailed information about each service can be found in service folder.

Requirements

  • Java JDK 8
  • Apache Maven
  • Docker

Get Started

  1. Run docker-compose up -d to start MongoDB and Rabbitmq if you don't have them on your local computer.
  2. Build then start services:
    restaurant-info-service --> order-service --> payment-service --> payment-processing-service.
  3. Upload restaurant test data in restaurant.json.
  4. Open restaurant UI on http://localhost:8080

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.