Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 905 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 905 Bytes

NodeJS Find Appointment 🍏

This is a technical practice to write a function to find appointment

About ℹ️

  • All times in the calendars will be given in 24h format "hh:mm", the result must also be in that format
  • A meeting is represented by its start time (inclusively) and end time (exclusively) -> if a meeting takes place from 09:00 - 11:00, the next possible start time would be 11:00
  • The businessmen work from 09:00 (inclusively) - 19:00 (exclusively), the appointment must start and end within that range
  • If the meeting does not fit into the schedules, return null
  • The duration of the meeting will be provided as an integer in minutes

Tech Stack 📚

  • NodeJS for runtime
  • Jest for testing

How to setup ⚙️

$ git clone
$ npm install

How to run normally 🏃‍♂️

$ npm run start

How to test 🧪

$ npm run test