/ecommerce-API

I have developed this REST API for an Ecommarce Rest API. This API performs all the fundamental CRUD operations of any ecommarce Application platform with user validation at every step. This project is developed by me Back-End Developer in 2 week

Primary LanguageJava

Online Shopping Application API

  • I have developed this REST API for an Ecommarce Rest API. This API performs all the fundamental CRUD operations of any ecommarce Application platform with user validation at every step.
  • This project is developed by me Back-End Developer in 2 week

Entity Relationship 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=8088
    • spring.datasource.url=jdbc:mysql://localhost:3306/emcommarcedb
    • 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/

Tech Stacks

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

Backend

Swagger UI

image

Customer-Controller

image

Address-Controller

image

Product-Controller

image

Cart-Controller

image

OrderAndLogin-Controller

image

Error-Controller

image