Skip to content

My implementation of the Hometrack interview primer test

License

Notifications You must be signed in to change notification settings

Astr-o/hometrack-test-api

Repository files navigation

hometrack-test-api

This is my solution to the Hometrack Interview problem.

Problem definition

Getting Started

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.

Prerequisites

  • NodeJS 6.11.4+
  • Heroku CLI - (Deployment only)

Installing

Install dependcies

npm install

Run express server locally

npm start

Running the tests

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

Deployment

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

Built With

License

This project is licensed under the MIT License - see the LICENSE file for details

About

My implementation of the Hometrack interview primer test

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published