/Online-_Shopping_Application_API-Backend

An Online Shopping Application API where Users can register/login, add/explore products, add to cart/update and can place order

Primary LanguageJava

Online Shopping Application API

This is a Collaborative project, we have built a rest API service for an Online Shopping Application with 5 Team members in around 5 days. This service provides users to register and login, view/add products, and add to cart & order.

Entity Relationship Diagram

ER Diagram

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=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

Tech Stacks

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

Team-Members

Backend

Swagger UI

SwaggerUI

Customer-Controller

SwaggerUI

User-Controller

SwaggerUI

Product-Controller

SwaggerUI

Cart-Controller

SwaggerUI

Order-Controller

SwaggerUI

Thank You for your Presence

SwaggerUI