HI
hitman3r44/food-delivery-backend
Food Delivery Functionality With Resturant Managment
Food-Delivery-System
Food Delivery Application based on microservices architecture.
Table of Contents
Installation
- Run
docker-compose up -dto start MongoDB and Rabbitmq if you don't have them on your local computer. - Build with (
mvn clean install -U) then start services:
restaurant-info-service --> order-service --> payment-service --> payment-processing-service. - Upload restaurant test data in
restaurant.json. - Open restaurant UI on http://localhost:8080
Requirements
- Java JDK 8
- Apache Maven
- Docker
- MongoDB
- H2 Databse
- Lombok Intellij Plugin
- HOTSWAP AGENT Intellij Plugin
- DCEVM Plugin for JAVA HotSwap functionality in OS DCEVM
System Architecture
Detailed information about each service can be found in service folder.
Functionality
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.
Project Managment
Please go to this youTrack link YouTrack.
Contributing
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.
On this page
Languages
Java87.4%HTML10.3%JavaScript2.3%
Contributors
Created December 29, 2018
Updated May 24, 2022
