- Node.js 7 and mongodb 3 must be installed
git clone git@github.com:simenko/newsroom-back.git
cd newsroom-back
- Open file '.env.example', assign relevant values to environment variables and save it as '.env'
npm install
mkdir data
- Open new terminal in the same directory and start mongodb:
mongod --dbpath data
npm start