This REST API was created for an E-Commerce Project. This API handles all of the basic CRUD functions of an E-commerce Application platform, including validation at each stage.
- You can see API Documentation at API root end Point via Swagger.
- Authentication and validation for customer and admin was made using the Session UUID.
- Lombok library used so I minimized boilerplate code in the project.
- Java
- Springboot
- Spring Data JPA
- Hibernate
- Lombok
- MySQL
- Swagger
- PostMan
- Add new products
- Manage product quantities
- All of the Order's management
- Search by customer details ( name, e-mail, phone, id )
- Customer management
- Search by order
- Admin and Customers ( different login )
- Login and Register
- See cart details and total price
- Add to cart
- Make a purchase, and track its status
- Search by category
- Payment
http://localhost:8880/swagger-ui/
POST localhost:8080/admin/login
- Request Body
{
"adminId": 15,
"password": "berkbeleli"
}
- Response
CurrentAdminSession(userId=15, uuid=E4Jiid, localDateTime=2022-12-21T00:39:58.270034)