Coder Social home page Coder Social logo

sanajitjana / e-commerce-api Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 160 KB

A REST-Full Web Services APIs for an Online Shopping App Based on Spring Boot. All functionalities of an online shopping app such as login/signup, add to cart, remove from cart and place order are provide which is fully connected with database.

Java 100.00%
ecommerce ecommerce-api ecommerce-application java-8 mysql-database online-shopping-system spring-boot

e-commerce-api's Introduction

E-Commerce-API

Introduction

A REST-Full Web Services API's for an Online Shopping App based on Spring Boot. All functionalities of an online shopping app such as Login, Signup, Add product, Add to cart, remove from cart and Place order are provide which is fully connected with database.

Details : ๐Ÿ”ญ

My project performs fundamental operations of an e-commerce website, where our customer's data is validated, mapped, processed with business logic & persisted in the database.

ER Diagram

Online Food Order App

Used Tech Stack & Tools:

  • Java
  • Spring
  • Spring Boot
  • Spring Data JPA
  • Hibernate
  • Lombok
  • MySQL
  • Postman
  • Swagger UI

Modules

  1. Login Module
  2. Customer Module
  3. Order Module
  4. Bill Module
  5. Product Module
  6. Cart Module

Installation & Run

  1. clone our Project into your local machine.
    • open any terminal
    • git clone https://github.com/sanajitjana/E-Commerce-API.git
  2. Open Your STS
  3. Goto File -> Import -> Select Maven -> Choose Existing Maven -> Click on browse -> Choose the project location -> Select the project -> Finish
  4. All done, good to go!
  • Before running the API server, you should update the database config inside the application.properties file.
  • Update the port number, username and password as per your local database config.
  • Run your application and hit this url on browser - http://localhost:8888/swagger-ui/
    #db specific properties
    server.port=8888
    
    spring.datasource.url=jdbc:mysql://localhost:3306/online_shopping_db;
    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    spring.datasource.username="Your SQL username"
    spring.datasource.password="Your SQL Password"
    
    #ORM s/w specific properties
    spring.jpa.hibernate.ddl-auto=update
    spring.jpa.show-sql=true
    
    #validation exception activate
    spring.mvc.throw-exception-if-no-handler-found=true
    spring.web.resources.add-mappings=false
    
    #enable swagger
    spring.mvc.pathmatch.matching-strategy = ANT_PATH_MATCHER

e-commerce-api's People

Contributors

sanajitjana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

e-commerce-api's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.