REST API developed for a Product Application.This API handles an Admin and User and performs all the fundamental CRUD operations of any Product Application platform with user validation at every step. This project is developed by me during Project week in Masai School.
- Java
- Spring Framework
- Spring Boot
- Spring Data JPA
- Hibernate
- Spring Validation
- MySQL
- Lambok
- Swagger Ui
- Login Module
- Admin Module
- User Module
- Product Management Module
- User and Admin authentication & validation with session UUID.
- Admin Features:
- Admin can register, log in, log out, update and delete accounts
- Admin have control over the entire application
- Admin can manage User and product.
- Admin can access the details of different users and products.
- Only logged-in Admin can access all features of Admin
- User Features:
- Users can register themselves with the application, logging in and logout into the application
- Users can buy products and can cancel the products.
- Users can update, or delete their accounts
- Only logged-in users can access all user features
#changing the server port
server.port=8007
#db specific properties
spring.datasource.url=jdbc:mysql://localhost:3306/productsdb
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=0007
#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:8007/
http://localhost:8007/swagger-ui/