Skip to content

A Node 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.

Notifications You must be signed in to change notification settings

svey/rental-market

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rental Market

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.

To use:

  1. From the Repo's local directory on your machine in Terminal or CommandPrompt run:
    • npm install
    • npm start
  2. The API can be easily tested using Postman https://www.getpostman.com/
    Note: Postman request should be made with urlencoded or raw JSON
  • /price

    Parameters:

    • zipcode (94158)
    • bedroom_count (2)
  • /booking_rate

    Parameters:

    • zipcode (94158)
    • bedroom_count (2)
  • /earnings

    Parameters:

    • zipcode (94158)
    • bedroom_count (2)
    • start_date (2015-01-01)
    • end_date (2015-07-01)

Built with:

  • Node.JS/Express.JS

About

A Node 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published