8000 GitHub - fastrackgroup/backend-test: Back-end Development Test
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fastrackgroup/backend-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 

Repository files navigation

Back-end Development Test

Fastrack Group

The purpose of this test is to not only gauge the capabilities of potential applicants, but to also get an idea of their approach to development and problem-solving.

To complete this test, fork the repository to your own public Git repo, complete the task, and then email the URL of your repo to development@fastrackg.com. Include any instructions of any necessary steps to get your code working in the README file (e.g. installing Composer dependencies).

Whilst there is no time limit, this test is not intended to take a long time to complete so use your judgement.

The Task

You are required to reproduce a small piece of core functionality found within our own custom Content Management System. Fastrack Group works for a wide range of clients within the tourism and accommodation industries, so there is an inevitable amount of integration required with third-party booking systems.

You are required to write the code necessary to query the API for TheBookingButton to retrieve the best room rates for a hotel.

The full documentation for TheBookingButton rates API can be found at https://help.thebookingbutton.com/hc/en-us/articles/203326314-TheBookingButton-Rates-API

For the sake of this exercise use the channel code camhotsyddirect when retrieving rates. The region for this demonstration property is APAC.

Your solution must:

  • Display the best available rate for each room type over the coming 21 days
  • Display when the above best rate is for
  • Display the overall best availale rate for the hotel - including the date and the room type

It is up to your discretion how to display these results - this is not a design or front-end development test. A command-line solution is just as valid as browser-based output.

Restrictions

Your solution must be written in PHP. You may support whatever version(s) of PHP that you wish, but you must include details of those requirements in your README file.

You may use whatever tools and/or frameworks you wish to get the job done.

Your code must be fully commented to explain what is happening.

Extra Credit

If you have time and are inspired to delve a little further into this, feel free to look at any of the below:

  • Expand the search window to capture the best rate over the next 60 days.
  • We know that we want to stay for three nights at this hotel - update your code to calculate the best available rates for three consecutive nights.

If you attempt any of these, make a note in your README file.

Any questions?

Create a new issue with your query and we will answer you as soon as possible.

About

Back-end Development Test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0