- This is a Maven Project. Developed this Rest web service using Spring Boot.
- Open/import application using IDE. ( like Intellij )
- Go to src/main/resources/application.properties file and change configurations as your local environment. Use MySQL database.
- Run the application.
- After starting application, go to http://localhost:8080/swagger-ui/index.html
- Add users to database (with test case)
- Sign-in user with authentication
- Add products to database
- Add products to cart
- Calculate cart total amount
- Go to swagger url above mentioned.(In here can see all endpoints)
- Create two products(for testing purpose). (return Product code and name after created a product)
- Create two users (for testing purpose)
- Sign-in to both users in separately.
- Go to "Add to cart" in swagger ui for one sign in user, and add a product with 'productCode', 'quantity' with generated 'token' when user created.
- Then, Add two products to other user shopping cart with different quantities.
- Check both Shopping cart. (use 'Calculate the cart' swagger url) Use parameter 'token' for the check both user's shopping cart
- Validate missing validations.
- Implement category for products.
- Manage inventory
- Add order module
- Add payment module
- Coupon for discount
- Implement address(shipping, billing) for the users.
- Implement front-end application for shopping cart. . . .
#end