Coder Social home page Coder Social logo

ashishgupta189 / ecommerce Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 95 KB

REST API for an e-commerce application using Java, MySQL, Hibernate, Spring Boot.This API performs all the fundamental CRUD operations of any e-commerce platform with user validation at every step.

Home Page: https://drive.google.com/file/d/1xOSlcDQIdoCwVnB3MpN0yr98bPvcC56S/view?usp=sharing

Java 100.00%
hibernate java jpa-hibernate lombok maven mysql spring-boot swagger-ui

ecommerce's Introduction

REST API for an E-Commerce Application

  • I had developed this REST API for an e-commerce application. This API performs all the fundamental CRUD operations of any e-commerce platform with user validation at every step.

Tech Stack

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

Modules

  • Login, Logout Module
  • Admin Module
  • Customer Module
  • Product Module
  • Cart Module
  • Order Module

Features

  • Admin and Customer authentication & validation with session token having validity of 1 hour for security purposes
  • Admin Features:
    • Administrator Role of the entire application
    • Only registered admin with valid session token can add/delete products and category from main database
    • Admin can access the details of different customers, orders
  • Customer Features:
    • Registering themselves with application, and logging in to get the valid session token
    • Viewing different products and adding them to cart and placing orders
    • Only logged in user can access his orders.
    • Users who are not logged in can add/remove products to their cart.

Installation & Run

  • 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.
    server.port=8009

    spring.datasource.url=jdbc:mysql://localhost:3306/ecommerce_db
    spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
    spring.datasource.username=root
    spring.datasource.password=root


ecommerce's People

Contributors

ashishgupta189 avatar

Watchers

 avatar

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.