This module displays information about the neighborhood of a rental listing. For this project, I was responsible for vertically and horizontally scaling the service to handle up to 1000 RPS with an average latency of under 500ms.
- https://github.com/Staybnb/Nav
- https://github.com/Staybnb/Listing_Description
- https://github.com/Staybnb/Booking
- https://github.com/Staybnb/Reviews
To run the application in non-development mode from within the root directory:
npm run build
npm startThen access the application at (http://localhost:3001).
To run in developer mode:
npm run react-dev
npm run start-dev
npm testFrom within the root directory:
npm installThis module's data is stored in a SQL database. There are three tables:
- Listings: each record corresponds to one listing on Staybnb, and includes location information (lat/long) and host-inputted descriptions.
- Neighborhoods: each record corresponds to one of 15 neighborhoods in which all listings are located, and includes identifying names for different geographic levels related to the neighborhood as well as seven features of the neighborhood.
- Landmarks: each record corresponds to a well-known landmark in London, along with its location (lat/long). This data will be used to display to the client the five nearest landmarks to a given listing.
The schema is shown below.

