View Code? Open in Web Editor
NEW
APIs using Django (or any other Python-based Web framework) for an advisor network where users can come and book an advisor for a call.
Python 5.07%
Shell 0.92%
PowerShell 0.36%
Xonsh 0.24%
CSS 47.28%
JavaScript 46.12%
advisorapiproject's Introduction
Backend Assignment (Python)
APIs using Django (or any other Python-based Web framework) for an advisor network where users can come and book an advisor for a call.
The following roles should be allowed
- Not needed for this assignment
- Advisor name
- Advisor Photo URL
- No Response
- Just return 200_OK if the request is successful
- Return 400_BAD_REQUEST if any of the above fields are missing
API: Can register as a user
- JWT Authentication Token
- User id
- 200_OK if the request is successful
- 400_BAD_REQUEST if any of the above fields are missing
API: Can log in as a user
- JWT Authentication Token
- User id
- 200_OK if the request is successful
- 400_BAD_REQUEST if any of the above fields are missing
- Return 401_AUTHENTICATION_ERROR if the email/password combination was wrong
API: Get the list of advisors
- An array of advisor objects with each object having
- Advisor Name
- Advisor Profile Pic
- Advisor Id
- 200_OK if the request is successful
API: Can book call with an advisor
- Booking time (a DateTime string)
- 200_OK if the request is successful
API: Can get all the booked calls
- An array of advisor objects with each object having
- Advisor Name
- Advisor Profile Pic
- Advisor Id
- Booking time
- Booking id
- 200_OK if the request is successful
advisorapiproject's People
Contributors
Stargazers
Watchers