Skip to content

Dummy nodejs + mongo project, that will be used in next infrastructure projects

License

Notifications You must be signed in to change notification settings

ltblueberry/dummy-node-mongo

Repository files navigation

Dummy Nodejs MongoDB Build Status

It is a dummy NodeJS application with MongoDB database, that will be used in next infrastructure projects.

Dependencies

  • NodeJS
  • MongoDB

Install

Install pm2 npm globaly to start application Install all npm dependencies with npm install command

Start application

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

Start application with env variables

pm2 start app.yml --env staging --log log/application.log

Tests

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

License

MIT License

Copyright (c) 2019 ltblueberry

About

Dummy nodejs + mongo project, that will be used in next infrastructure projects

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published