It is a dummy NodeJS application with MongoDB database, that will be used in next infrastructure projects.
- NodeJS
- MongoDB
Install pm2
npm globaly to start application
Install all npm dependencies with npm install
command
Execute next command to start application via pm2
pm2 start bin/www --name "dummy" --log log/application.log
You can check status of application with next command
pm2 status
pm2 start app.yml --env staging --log log/application.log
To run tests execute next command
npm test
Also GitLab-CI configuration file was added .gitlab-ci.yml.
You need to have runner with docker
tag.
Also Travis-CI configuration file was added .travis.yml
Copyright (c) 2019 ltblueberry