This is a sample project for booking appointment with doctors
npm i
npm start
- User can view a list of doctors
- User can click any doctor in the list to view the details of the doctor along with their available slots
- User can select slots and then add their names to proceed with the booking
- User will be provided with the unique booking ID which they can use to modify bookings later.
- Bookings can be made within a range of 1 week (including the present date)
- Bookings can be made only in slots of 1 hour hence slots provided are only in that range
- API key has been hardcoded
- User should have a login flow to view their booking(s).
- User should be able to book slots from any start time and end time based on the doctor's availability.
- User should have an option to modify / cancel their booking(s).
- Usage of a global state management like Redux.js will prevent using browser storage.
- Better error handling mechanism on the UI.
- Testing : unit test cases for each functionality, E2E testing.
- Adding the API key as part of the environment variables.
- Api key should be added as part of config while deploying to production.