An open API service indexing awesome lists of open source software.

https://github.com/docplanner/vue-recruitment-refactor-assignment


https://github.com/docplanner/vue-recruitment-refactor-assignment

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Full-stack technical assigment: front-end

Hello! First of all - welcome and congrats that we can meet on this stage of the process!

## Guidelines:

- to create your copy, use the green "Use this template" button on the top right. It should be set as private repo. Do
not use fork feature.
- to start the app within the app root dir please run `npm i && npm run dev`
- complete the task as described below
- once completed - give access to the repo to the hiring manager and other people provided
- send us the link to the pull request in your repo, in order for us to review your task

## Task description

Code represents POC of Visit Management Page.


Patient can see a visit date with the option to book a new appointment but provided solution does not meet all
business requirements and has a few bugs.

### Issues to resolve:

- fix fetching available slots
- apply correct date / time formatting to the slot element to make it more readable (only time should be displayed)

### The goal is to improve patient's experience by:

- grouping slots by day
- when user clicks on a slot, booking action is triggered. Set up a confirmation step before booking new slot
- adding loading state of your choice when slot is being booked
- update confirmed date and available slots to avoid double bookings (two bookings for the same hour)

## Hints

- it's up to you how much time you want to spend
- feel free to refactor and reorganise the code as you feel like
- add any libraries that you might need
- add tests
- if you could do something better, but it feels like too much work - please put a comment and describe what would you
do

### **Good luck!**