ES Task for backend developers
Please notice that i used Springboot platform to excute the task, and Docker for virtualizing MYSQL8 DataBase, use the following command to intialize Virtual DB;
dcker run --rm --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root mysql:8
Also find Postman collection for testing https://www.getpostman.com/collections/567b6fc49461474887f6
The sample has the following features;
- doctor can register
- Doctor can add his appointments
- Patient can register
- Patient can show all doctors
- Patient can book an appointment
These features were implemented in the most basic way and it could use some enhancements like;
- secure user registeration data
- return human readable messages from the API
- Error handling Scenarios
- Doctor can view his bookedAppointments
- Postman collection needs some adjustements to ease usage too :D