Another take-home assignment for a software engineer position from a very nice company.
Build a simple server that, given a city code (eg, PAR), check-in date, and check-out date, will return the three cheapest hotel rooms. Make sure your output only contains the required information, the name of the hotel, address, phone number, and the rate for a room.
Use the amadeus for Developers api.
- Node.js, Express
- React, Hooks, Bootstrap
- Jest/Enzyme
- webpack
- Clone this repo
- Duplicate
.env.defaults
into.env
- Edit
.env
file to setup project. Make sure to provide Amadeus keys - Install deps:
npm install
- Build project:
npm run build
- Start the app:
npm start
npm start # starts a web server. make sure to `build` beforehand to serve static
npm run build # compiles web-client into `build/public`
npm run watch # starts a dev server and opens browser
npm run test # runs test suits
npm run coverage # outputs coverage report