Skip to content

Instantly share code, notes, and snippets.

@zaeem
Last active June 12, 2019 18:07
Show Gist options
  • Save zaeem/aa3b5627be6240bc5fc2c16acf9c00a1 to your computer and use it in GitHub Desktop.
Save zaeem/aa3b5627be6240bc5fc2c16acf9c00a1 to your computer and use it in GitHub Desktop.

Background

We are going to design a guest checking/checkout system for Hotel management. A general understanding of Node and React should be good enough to complete this excercise, should take somewhere between 4-8 hours. A dumy working model should be good enough, no need to add any integration, just the working ui.

Tools

  • Nodejs, express and mongodb
  • Reactjs

UI

https://i.snag.gy/QMRLi8.jpg

Requirements

  • Guests can check in multiple times (visits) at a property (e.g. a hotel), and around each visit, guests can send messages asking about different things like Wifi, towel, room service etc..
  • Staff panel to manage guests and visits and see their messages, checkin, checkout info.
  • Staff panel should have two tabs (checked in and checked out) and each tab should reflect the correct guest visits, based on the visit state
  • After clicking on a guest visit, their messages should be visible.
  • Once a visit sends a message, those should be visible at the staff panel (feel free to create the guest messages through the console or a seed file, but bonus points if you use something like Twilio and other channels to create messages)
  • Messages, replies, and visits should be visible at the staff panel in real-time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment