Skip to content

Latest commit

 

History

History
115 lines (73 loc) · 3.41 KB

README.md

File metadata and controls

115 lines (73 loc) · 3.41 KB

Online Food Delivery Web Services

This project is developed by a team of 4 members with the help of the Spring-Boot framework. The main objective of this Web services application is to cater needs of front-end developers to call different types of API as per the requirement.

Application Name --Foodie Express

Orange Black Hummingbird Tech, Digital Bird Logo Template

Team Members

1. Md Irfan(Team Lead)

2. Abhishek Kumar

3. Rishabh Mishra

4. Vinay Pathania

Tech Stack and Tools

  • Java
  • Maven
  • Spring Boot Framework
  • Spring Data JPA
  • Hibernate
  • MySQL
  • Swagger-UI
  • Lombok

Modules

  • Login Module
  • Restaurant Module
  • Customer Module
  • Order Module
  • Items Module
  • Food Cart Module
  • Bill Module

ER- Diagram

Er-diagram

Features

  • Customer and Admin authentication & validation with session uniqueId.

  • Admin Features:

  • Only registered admins with valid session id can do the CRUD operations like add/update/delete.

  • Admin can add restaurants and food items.

  • Admin can remove restaurants and items.

  • Customer Features:

  • Customer can register themselves with the application.

  • Customer can login to get the valid session token(id).

  • View list of available items.

  • Add items to food cart, view cart details, placing the order, update and access other features.

Controllers

Schema

Login-controller swagger

login

Customer-controller swagger

Customer

Restaurant-controller swagger

res

Bill-controller swagger

bill

Cart-controller swagger

Cart

Order-controller swagger

order

Item-controller swagger

Item

Installation & Run

  • To run this API server, you should update the database configuration inside the application.properties file which is present in the src/main/resources folder.
  • Update the port number, username and password as per your local database configuration. server.port=8080 spring.datasource.url=jdbc:mysql://localhost:3306/FoodExpress; spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.username=your_username_here spring.datasource.password=your_password_here
## API Root Endpoint

https://localhost:8080/

https://localhost:8080/swagger-ui.html