A skeleton project for a node application that uses continuous delivery pipeline and other additional tools that monitor project quality. After committing changes, Travis will automatically test and lint the committed changes. If everything works fine, the commit will then be forwarded to Heroku into a staging environment.
Install dependencies:
npm install
Create .env file:
touch .env
Add two environmental variables into the .env file:
PORT=X
TEST_PORT=Y
Start the project:
npm run watch
for developmentnpm start
for production
Tests:
npm test
Linter:
npm run lint