This is my solution to the Hometrack Interview problem.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- NodeJS 6.11.4+
- Heroku CLI - (Deployment only)
Install dependcies
npm install
Run express server locally
npm start
This project uses mocha to for testing. Install mocha globally to access it directly from the terminal
npm -g install mocha
Then run the test suite using.
npm test
This project is configured to be deployed to heroku for futher instructions see - Getting Started Heroku
To deploy first login to your heroku account by running the command below and following the prompts
heroku login
Then create a Heroku app for the project
heroku create
This will add the heroku remote configuration to your local git repository, you can deploy by pushing to this remote
git push heroku master
- Express - The web framework used
This project is licensed under the MIT License - see the LICENSE file for details