https://github.com/pawan8085/ecommerce
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..
https://github.com/pawan8085/ecommerce
hibernate java8 mysql springboot springsecurity
Last synced: 30 days ago
JSON representation
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..
- Host: GitHub
- URL: https://github.com/pawan8085/ecommerce
- Owner: Pawan8085
- Created: 2023-03-10T17:49:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T03:02:10.000Z (over 2 years ago)
- Last Synced: 2024-12-27T12:08:12.315Z (over 1 year ago)
- Topics: hibernate, java8, mysql, springboot, springsecurity
- Language: Java
- Homepage:
- Size: 297 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# *Rest Api for Ecommerce application
## An Individual project built within 2 weeks
### ER Diagram :

#### 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}
```