Simple Node.js Backend API
Budget: $30 – $250 USD
Tech stacks
- Node.js
- TypeScript
- Database: Firestore
Our product manager, John wanted to solve problems for doctor - patient appointment.
John want to solve following hero-scenarios in the backend application.
Patient persona
- A patient should be able to create his/her profile with basic information like name, blood group etc.
- Patient should be able to discover all available doctors on a particular date and time.
- Patient should be able make an appointment with one of available doctors with given date & time.
- Patient should be able to cancel a scheduled appointment if decided due to some last minute plan change.
- Patient should be able to see all scheduled appointments on a upcoming days.
Doctor persona
- A doctor should be able to create his/her profile with basic information like name, experience etc.
- Doctor should be able to mark his/her availability in the calendar like available 9 AM-12 PM on Monday to Friday & 2 PM to 5 PM on Saturday to Sunday
- Doctor should be able to cancel a scheduled appointment if decided due to some last minute urgency in the hospital.
- Doctor should be able to see all scheduled appointments on a particular day for better appointment management
We are looking for designing and implementing REST APIs to support these hero-scenarios
Bonus points
- Add support any authentication scheme like JWT, Basic Auth etc. while integration with any available authentication system or create your own in the code.
- Feel free to use any database to store the information or in-memory implementation with Maps, lists etc. or any open source library available to do this job
- Feel free to use any object oriented programming language like TypeScript (Preferred), JavaScript, Python or Java.
- Authorization is completely optional like a doctor can perform only doctor persona specific actions. It will be considered as bonus if you add support for it.
- Node.js
- TypeScript
- Database: Firestore
Our product manager, John wanted to solve problems for doctor - patient appointment.
John want to solve following hero-scenarios in the backend application.
Patient persona
- A patient should be able to create his/her profile with basic information like name, blood group etc.
- Patient should be able to discover all available doctors on a particular date and time.
- Patient should be able make an appointment with one of available doctors with given date & time.
- Patient should be able to cancel a scheduled appointment if decided due to some last minute plan change.
- Patient should be able to see all scheduled appointments on a upcoming days.
Doctor persona
- A doctor should be able to create his/her profile with basic information like name, experience etc.
- Doctor should be able to mark his/her availability in the calendar like available 9 AM-12 PM on Monday to Friday & 2 PM to 5 PM on Saturday to Sunday
- Doctor should be able to cancel a scheduled appointment if decided due to some last minute urgency in the hospital.
- Doctor should be able to see all scheduled appointments on a particular day for better appointment management
We are looking for designing and implementing REST APIs to support these hero-scenarios
Bonus points
- Add support any authentication scheme like JWT, Basic Auth etc. while integration with any available authentication system or create your own in the code.
- Feel free to use any database to store the information or in-memory implementation with Maps, lists etc. or any open source library available to do this job
- Feel free to use any object oriented programming language like TypeScript (Preferred), JavaScript, Python or Java.
- Authorization is completely optional like a doctor can perform only doctor persona specific actions. It will be considered as bonus if you add support for it.