-
Notifications
You must be signed in to change notification settings - Fork 0
Database Schema and Backend Routes
Amanda Vien edited this page Nov 7, 2022
·
3 revisions
GET /api/users
- Returns the information of all the users.
POST /api/auth/signup
- Signs up a new user.
POST /api/auth/login
- Logs in a user.
DELETE /api/auth
- Logs out a user.
GET /api/designs
- Returns the information of all the designs created by the logged in user.
GET /api/designs/:design_id
- Returns the information the specified design.
POST /api/designs
- Creates a new design.
PUT /api/designs/:design_id
- Edits the specified design.
DELETE /api/designs/:design_id
- Deletes the specified design.
GET /api/brand
- Returns the information of all the brands created by the logged in user.
GET /api/brand/:brand_id
- Returns the information the specified brand.
POST /api/brand
- Creates a new brand.
PUT /api/brand/:brand_id
- Edits the specified brand.
DELETE /api/brand/:brand_id
- Deletes the specified brand.