Skip to content

A dockerized node.js web app using express, sequelize (mysql) for educational purposes

License

Notifications You must be signed in to change notification settings

jhchill666/budgeteala

 
 

Repository files navigation

Build Status Coverage Status

Budgeteala

Budgeteala is a dockerized web application meant for educational purposes. It aims to provided a non trivial example of a dockerized web application using express and sequelize.

Running budgeteala in a development environment

Go to the root of the project and execute

docker-compose build
docker-compose up

That will expose the web application in port 5000 and port 9229 will be available for a remote debugger to be attached.

Running budgeteala tests

In the command line type: npm test. The launch.json file contains the proper configuration to run the test from vscode as well.

Running budgeteala in a production

If you want to deploy this application in a server it is recommended to create a production docker-compose file that overrides the default environment, you can name it docker-compose.prod.yml. That file SHOULD NOT be pushed in the repository and MUST be kept secret.

In this case you can start the server like this:

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d

About

A dockerized node.js web app using express, sequelize (mysql) for educational purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.0%
  • Other 1.0%