Steps to Get Started
- npm install
- Add key.json
- Add .env
- npm run start
Routes
- Carts
Route | HTTP | Description |
---|---|---|
/carts/add | POST | add item to carts |
/carts/show | GET | show all carts |
/carts/remove | POST | remove 1 item from carts |
/carts/clear | DELETE | delete all items in carts |
- Items
Route | HTTP | Description |
---|---|---|
/items/show | GET | show items |
/items/upload | POST | upload items |
- Users
Route | HTTP | Description |
---|---|---|
/users/signin | POST | user signin |
/users/signup | POST | user signup |