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.
- Java
- Spring Framework
- Spring Boot
- Spring Data JPA
- Hibernate
- Spring Validation
- MySQL
- Lambok
- Swagger Ui
- Login Module
- Admin Module
- Customer Module
- Product Category Management Module
- Product Management Module
- Cart Management Module
- 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
#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
https://localhost:8888/
http://localhost:8888/swagger-ui/