-
We have developed this REST API for an Online Shopping Application. This API performs all the fundamental CRUD operations of any Online Shopping Application platform with user validation at every step.
-
This project is developed by team of 5 Back-End Developers during project week in Masai School.
- 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=8088
- spring.datasource.url=jdbc:mysql://localhost:3306/shoppingdb
- spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
- spring.datasource.username=Your UserName
- spring.datasource.password=YourPassword
- spring.jpa.hibernate.ddl-auto=update
- spring.jpa.show-sql=true
- spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER
-to check the swagger http://localhost:8088/swagger-ui/
- Java Core
- Spring Data JPA
- Spring Boot
- Hibernate
- MySQL