Skip to content

REST API developed for an Online beverages ordering Application.This API handles 2 different types of users(Admin and Customer) and performs all the fundamental CRUD operations of any Online food ordering Application platform with user validation at every step.

Notifications You must be signed in to change notification settings

suranjanachary/ECP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E-Cafe (Online Breverages ordering Application)

REST API developed for an Online beverages ordering Application.This API handles 2 different types of users(Admin and Customer) and performs all the fundamental CRUD operations of any Online food ordering Application platform with user validation at every step.

Badges

Badge

Tech Stack

  • Java
  • Spring Framework
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • Spring Validation
  • MySQL
  • Lambok
  • Swagger Ui

Modules

  • Login Module
  • Admin Module
  • Customer Module
  • Product Category Management Module
  • Product Management Module
  • Cart Management Module

E-Cafe

CW_erd-Page-2

ER Diagram

CW_erd-Page-1 drawio

Service Interface

CW_erd-Page-2

Features

  • Customer and Admin authentication & validation with session UUID.
  • Admin Features:
    • Admin can register, log in, log out and update account.
    • Admin have control over the entire application
    • Admin can add, view, update and delete Products, Categories.
    • Only logged-in Admin can access all features of Admin
  • Customer Features:
    • Customers can register themselves with the application, logging in and logout into the application
    • Customers can view products according a specific category also in price sorted fashion(low to high/ high to low).
    • Customers can update, or delete their accounts
    • Only logged-in users can access all customer features

Installation and Run

#changing the server port
server.port=8888
#db specific properties
spring.datasource.url=jdbc:mysql://localhost:3306/ecpdb
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
#ORM s/w specific properties
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
#No handler found
spring.mvc.throw-exception-if-no-handler-found=true
spring.web.resources.add-mappings=false
#swagger-ui
spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

API Root and Endpoint

https://localhost:8888/
http://localhost:8888/swagger-ui/

Contributors

About

REST API developed for an Online beverages ordering Application.This API handles 2 different types of users(Admin and Customer) and performs all the fundamental CRUD operations of any Online food ordering Application platform with user validation at every step.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages