|
| 1 | +# Full-stack technical assigment: front-end |
| 2 | + |
| 3 | +Hello! First of all - welcome and congrats that we can meet on this stage of the process! |
| 4 | +This is the task that covers frontend part of a full stack technical assigment. |
| 5 | + |
| 6 | +## Guidelines: |
| 7 | + |
| 8 | +- to create your copy, use the green "Use this template" button on the top right. It should be set as private repo. Do |
| 9 | + not use fork feature. |
| 10 | +- to start the app within the app root dir please run `npm i && npm run dev` |
| 11 | +- complete the task as described below |
| 12 | +- once completed - give access to the repo to the hiring manager and other people provided |
| 13 | +- send us the link to the pull request in your repo, in order for us to review your task |
| 14 | + |
| 15 | +## Task description |
| 16 | + |
| 17 | +Code represents POC of Visit Management Page. |
| 18 | +<br/><br/>Patient can see a visit date with the option to book a new appointment but provided solution does not meet all |
| 19 | +business requirements and has a few bugs. |
| 20 | + |
| 21 | +### Issues to resolve: |
| 22 | + |
| 23 | +- fix fetching available slots |
| 24 | +- apply correct date / time formatting to the slot element to make it more readable (only time should be displayed) |
| 25 | + |
| 26 | +### The goal is to improve patient's experience by: |
| 27 | + |
| 28 | +- grouping slots by day |
| 29 | +- when user clicks on a slot, booking action is triggered. Set up a confirmation step before booking new slot |
| 30 | +- adding loading state of your choice when slot is being booked |
| 31 | +- update confirmed date and available slots to avoid double bookings (two bookings for the same hour) |
| 32 | + |
| 33 | +## Hints |
| 34 | + |
| 35 | +- it's up to you how much time you want to spend |
| 36 | +- feel free to refactor and reorganise the code as you feel like |
| 37 | +- add any libraries that you might need |
| 38 | +- add tests |
| 39 | +- if you could do something better, but it feels like too much work - please put a comment and describe what would you |
| 40 | + do |
| 41 | + |
| 42 | +### **Good luck!** |
0 commit comments