/Rest_API_Of_Online-Shopping

Developed this REST API for an Online Shopping Application. This REST API performs all the fundamental CRUD operations of any Online Shopping Application platform with user validation at every step. This a collaborative project build by a team of 5 members and we completed the project within 5 days.

Primary LanguageJava

Online Shopping Application API

  • 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.

Entity Relationship Diagram

image

Functionalities

  • User can register/login
  • See all products
  • Find products by category
  • Add to cart/edit into the cart
  • Place Order

Backend Work

  • Proper Exception Handling
  • Proper Input Validation
  • Data Stored in the database(mySQL)
  • User Authentication of signUp and Login

Installation and Run

  • 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

-to check the swagger http://localhost:8088/swagger-ui/index.html#/

Tech Stacks

  • Java Core
  • Spring Data JPA
  • Spring Boot
  • Hibernate
  • MySQL

Team-Members

Backend

Swagger UI

image

Customer-Controller

image

Address-Controller

image

Product-Controller

image

Cart-Controller

image

OrderAndLogin-Controller

image

Error-Controller

image