Services for working with housing property listings.
Default configuration is in src/config.js
and environment variables will override it.
The listings service uses the Zoopla API. You must register for an account and set this environment variable with the API key:
export ZOOPLA_API_KEY=<key>
See aramk/property-listing-models for instructions on setting up the data layer. For local development, it's best to link this package with npm link
.
The tests rely on aramk/zoopla-api-mock. Run this as a separate process, then execute either of these:
npm test # single execution
npm run test:watch # re-execute on changes
If the test suite requires more data from the API, the mock server should be extended.