An API for POSTing property info and receiving rental information regarding price, booking rate, and earnings. The rental-market uses dummy data and linear regression to model the relationship between rental price and rooms across properties in the same zip code.
- From the Repo's local directory on your machine in Terminal or CommandPrompt run:
- npm install
- npm start
- The API can be easily tested using Postman https://www.getpostman.com/
Note: Postman request should be made with urlencoded or raw JSON
Endpoints at http://localhost:3000/api
-
- zipcode (94158)
- bedroom_count (2)
-
- zipcode (94158)
- bedroom_count (2)
-
- zipcode (94158)
- bedroom_count (2)
- start_date (2015-01-01)
- end_date (2015-07-01)
- Node.JS/Express.JS