Skip to content

The Fodie Express(Online Food Delivery App);to form a bridge between customer and restaurant; to cater the issue of delivering food to the doorstep of customer; fully functional with MVC design pattern in Spring Boot; handled all type of exception; used JPA and JPQL ; lombok and swagger; db relationship; Register_LogIn_LogOut;

Notifications You must be signed in to change notification settings

Nitesh314/Masai-Restaurant-RestFull-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

The Fodies Express (Online Food Delivery System)

## Online Food Delivery App strictly followed MVC architecture
  • I developed this REST API for an E-commerce REST API. This API performs all the fundamental CRUD operations of any e-commerce application platform with user validation at every step.

Functionality at a glance

  • User can register/login-logout
  • can view all items
  • can view restaurants
  • Find items by category
  • Add to cart/edit into the cart
  • Place Order
  • Get order details
  • Get Bills

Technology used

  • Java
  • MySQL
  • Spring Boot
  • Spring data JPA
  • RESTful api
  • Hibernate
  • Swagger
  • Lombok
  • Maven
  • Postman
  • Spring tool suite eclipse
  • Git & GitHub

Lessons Learned

  • Gain excessive knowledge on application of Java, MySQL and SpringBoot.
  • Gain knowledge on creating RESTful API.
  • Enjoyed the process of learning and creating the application.

Backend Work

  • Proper Exception Handling
  • Proper Input Validation
  • Data Stored in the database(MySQL)
  • User Authentication of signup, Login, and Logout

Overview of Our work

Er Diagram

## All Modules All modules of our project

## Restaurant Module

## Customer Module

## Restaurant-Login Module

## Customer-Login Module

## Item Module

## FoodCart Module

## OrderDetails Module

## Bill Module

How To Run Our Project In Your Machine

  • You can clone this repo and start the serve on localhost
  • Before running the API server, we should update the database config inside the application.properties file.
  • Update the port number, username, and password as per our local database config.
    • server.port=8585
    • spring.datasource.url=jdbc:mysql://localhost:3306/emcommarcedb
    • spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    • spring.datasource.username=Your UserName
    • spring.datasource.password=YourPassword
    • spring.jpa.hibernate.ddl-auto=update
    • spring.jpa.show-sql=true
    • spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

-to check the swagger http://localhost:8585/swagger-ui/

Unique Features

  • In this application, whenever the user and restaurant perform any action, always they have to use a username. So, first, login or sign up to get the username and then proceed with the task.

About

The Fodie Express(Online Food Delivery App);to form a bridge between customer and restaurant; to cater the issue of delivering food to the doorstep of customer; fully functional with MVC design pattern in Spring Boot; handled all type of exception; used JPA and JPQL ; lombok and swagger; db relationship; Register_LogIn_LogOut;

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages