A simple interactive command-line program to simulate a hotel reservation scenario, built using nodejs
Node js - LTS version preferred
- Clone the repository/Download ZIP & extract
- On a terminal of your choice, enter the following
cd /path/to/the/folder
npm install
- Finally, run the application with the help flag for better understanding
node ./index.js --help
- (Optionally) To run jest unit tests,
npm test
NOTE: For mode 2, the input file expected can be found at /data/bookings.json