[P0] Add Career Model & Endpoints
Closed this issue · 0 comments
SirajChokshi commented
Endpoints:
- Route
/career
- GET - all careers
- POST - create new career, generate an ID, and return it
- Route
/career/<id>
- GET - a review of the specified ID
- PATCH - update this career
Model:
name: string
courses: Course[]
desc: string