-
This application is used by ABC Company admin and their Customer for online shopping
-
This application will help Customer to buy the products and view order details.
-
Customer can register themselves and login. Add product to the cart and purchase it .
-
This application will help Admin to search Product list ,add new products ,remove products and update product .
-
This project is developed by team of 4 Back-end Developers during project week in Masai School.
- Java
- Spring Framework
- Spring Boot
- Spring Data JPA
- Hibernate
- MySQL
- Lombok
- Swagger
- Login Module
- Customer Module
- Product Module
- Order Module
- Cart Module
- User authentication & validation with uuid key.
- Admin Features:
- Admin can register himself.
- Admin can add new products.
- Admin can remove products.
- Admin can update products.
- Customer Features:
- A user can register himself or herself on the platform.
- He/She can check the products item and product Category.
- If Product is available Customer can add the product to Cart.
- Customer can order the products from cart.
- Customer can cancel the order.
- Customer can apply for return in 7 days.
- Before running the API server, you should update the database config inside the application.properties file.
- Update the port number, username and password as per your local database config.
server.port=8888
spring.datasource.url=jdbc:mysql://localhost:3306/online_shopping_application
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.username=root
spring.datasource.password=root
http://localhost:8888/swagger-ui/
https://localhost:8888/
POST /log-in-log-out-controller
: User can login with email and password provided at the time of registation
POST localhost:8888/login
- Request Body
{
"email": "samrat@gmail.com",
"password": "swagger"
}