Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sachin2398/wood-fans
wood-fans
https://github.com/sachin2398/wood-fans
Last synced: 2 days ago
JSON representation
wood-fans
- Host: GitHub
- URL: https://github.com/sachin2398/wood-fans
- Owner: sachin2398
- Created: 2024-03-29T20:56:48.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-30T18:34:37.000Z (10 months ago)
- Last Synced: 2024-11-11T07:45:41.833Z (2 months ago)
- Language: JavaScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## API Reference
### Base Api URL
https://wood-fans-backend.vercel.app/
#### To Sign Up / Login / Login with google
```
GET /user/signup
GET /user/login
GET /user/google
```#### Get Products
```
GET /products
GET /products/:id//filter by type
GET /products?type={type}//sort by
GET /products?sort={price}&&order={asc}//Search by title
GET /products?title={any letter or word}
```#### Get Admin Access
```
GET /admin/user
POST /admin/user/create
PATCH /admin/user/update/:id
DELETE /admin/user/delete/:id
```#### Get Seller Access
```
GET /seller/products
POST /admin/products/add
PATCH /seller/products/update/:id
DELETE /admin/products/delete:id
```