Clone the repo:
git clone https://github.com/rectius/basic-backend-interview-test.git
cd basic-backend-interview-test
Install tools:
npm install -g nodemon babel-node
Install dependencies:
npm install
Prepare environment variables:
# configure MONGODB variable to connect to the database
mv .env.example .env
Import NeoWS data into MongoDB:
npm run-script feed
Run server:
npm start
Run tests:
npm test
Compile to ES5 into dist folder:
npm build