This is a Collaborative project, we have built a rest API service for an Online Shopping Application with 4 Team members in around 5 days. This service provides users to register and login, view/add products, and add to cart & order.
- User can register/login
- See all products
- Find products by category
- Add to cart/edit into the cart
- Place Order
- Proper Exception Handling
- Proper Input Validation
- Data Stored in the database(mySQL)
- User Authentication of signUp and Login
- You can clone this repo and start the serve on localhost
- Before running the API server, we should update the database config inside the application.properties file.
- Update the port number, username and password as per our local database config.
- server.port=8888
- spring.datasource.url=jdbc:mysql://localhost:3306/shoppingdb
- spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
- spring.datasource.username=root
- spring.datasource.password=YourPassword
- spring.jpa.hibernate.ddl-auto=update
- Java Core
- Spring Data JPA
- Spring Boot
- Hibernate
- MySQL