To use App;
-
Click button to start session
-
Say booking reference into mic on device
- Valid booking references are located in the bookings.json file (/public/bookings.json) and include the following; '1,2,3,4,5' '9,8,7,6,5' and '6,7,5,8,4'
-click 'Start Again' button to reset session
KEY OBJECTIVE: Build a simple app that allows a customer to check-in to their room using their voice at a hotel reception
Whilst this is a great exercise for practising, please spend a maximum of ONE HOUR on this scenario.
You may not complete it all, that is fine. It is better to complete an area to a high quality than to complete all areas at a low quality.
There is not a definitive 'right' answer, the point is for the applicant to be familiar with a set of requirements, and make some technical decisions that we can discuss when we meet. Eg, you chose to use X, why was that? What other options are available etc.
To apply, simple download this repository, complete the task, commit and push to a new empty repository and email us the URL.
Please do not fork or add a pull request.
- AS a new customer entering the hotel lobby, WHEN I walk up to the kiosk, THEN I am asked to speak my room number
- AS a customer has a valid booking number, WHEN I speak this to the kiosk, THEN I am presented with the names of the passengers on my booking and my room number
- AS a customer has an invalid booking number, WHEN I speak this to the kiosk, THEN I am presented with the a request to speak again or contact the staff member on the reception desk
- AS a customer who has just been shown my room number, WHEN I walk away (or after 20 seconds), THEN my room details are removed from the screen
- AS a new customer entering the hotel lobby AND there is already someone else's information on the screen, WHEN I say 'start again' as prompted on the screen, THEN the screen is cleared and I am asked to speak my room number
- If this is a full-stack role - Create a basic and simple full stack application - The front end, should be very simple and basic, UI is not necessarily a priority for this exercise. This can be done in a number of programming languages in less than 50 lines of code
- If this is a UI role - Save time and use a suitable boilerplate. Prioritise the UI, rather than webcam / microphone, eg, use buttons to simulate some events. Suggested starting technology,
React
,Redux
,RxJs
- Encorporate a voice API into your browser based application
- Browser takes voice as an input (booking number) and outputs the room details (Passengers and room numbers)
- Make some booking details up for your application. You do not need to create a database, but they should be not be stored in the front end
- Any voice APIs can be used, they can be cloud based or local. You do not need to use a chatbot engine
- You can use any programming language or framework, but there should be an understanding and justification for using them