Skip to content

Pawan8085/Ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

*Rest Api for Ecommerce application

An Individual project built within 2 weeks

ER Diagram :

Ecommerce_er

Tech stack :- SpringBoot, Java, Hibernate, MySql, Spring Security

FEATURES :-

ADMIN :-

. Register Login
. Add Category, Add Product
. Updated Product
. Total Users
. Total Revenue
. Product details : Sold Products, Revenue, Stock

USER :-

. Register Login
. Buy Product
. Add to Cart
. Orders
. Sorting & Filtering
. Comments & Ratings

 

ADMIN :-

Register Admin

POST /app/admin/register

http://localhost:8080/app/admin/register

Login Admin

POST /app/admin/signIn

http://localhost:8080/app/admin/signIn

Add Category

POST /app/admin/category

http://localhost:8080/app/admin/category

Get All Category

GET /app/admin/category

http://localhost:8080/app/admin/category

Add Product to the Category

POST /app/admin/product/{id}

http://localhost:8080/app/admin/product/{id}

Get total User count

GET /app/admin/totaluser

http://localhost:8080/app/admin/totaluser

Get total Revenue

GET /app/admin/revenue

http://localhost:8080/app/admin/revenue

Get Product detail

GET /app/admin/product/detail/{id}

http://localhost:8080/app/admin/product/detail/{id}

Update Product details

PUT app/admin/product/update/{id}

http://localhost:8080/app/admin/product/update/{id}

 

USER :-

Register User

POST /app/user/register

http://localhost:8080/app/user/register

Login User

POST /app/user/signIn

http://localhost:8080/app/user/signIn

By Product

GET /app/user/product/{productid}/{quantity}

http://localhost:8080/app/user/product/{productid}/{quantity}

Add Product to Cart

POST /app/user/cart/{productid}/{quantity}

http://localhost:8080/app/user/cart/{productid}/{quantity}

By Product from Cart

GET /app/user/cart/{cartid}

http://localhost:8080/app/user/cart/{cartid}

Get all from Cart

GET /app/user/cart

http://localhost:8080/app/user/cart

Get all from Order

GET /app/user/orders

http://localhost:8080/app/user/orders

Get all Products

GET /app/user/products

http://localhost:8080/app/user/products

Search Product

GET /app/user/products/{keyword}

http://localhost:8080/app/user/products/{keyword}

Search Product And filter by Rating

GET /app/user/products/{keyword}/{rating}

http://localhost:8080/app/user/products/{keyword}/{rating}

Search Product And filter by Price

GET /app/user/products/{keyword}/{min}/{max}

http://localhost:8080/app/user/products/{keyword}/{min}/{max}

Add Comment and Rating to the Product

POST /app/user/products/com/{productid}

http://localhost:8080/app/user/products/com/{productid}

About

Rest Api for Ecommerce Application in this application user can create their account, login ,user can search the product, filter the product , add product to the cart , buy product , comment and many tings can do and admin can access their resource such as adding category, adding product, checking total revenue..

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages