- Minimal "Production ready" intended Docker environment
- Dockerfile based on node:12-alpine
- Express
- EsLint with Javascript Standard boilerplate for node
- Logger via Pino node package
- Graceful shutdown via Stopper node package
- Helmet for basic security
docker-compose up --build
and open localhost:420
-
Digital Ocean How To Build a Node.js Application with Docker https://www.digitalocean.com/community/tutorials/how-to-build-a-node-js-application-with-docker
-
How to use linter in a node project https://medium.com/the-node-js-collection/why-and-how-to-use-eslint-in-your-project-742d0bc61ed7
-
ESLINT plugin on JetBrains https://github.com/idok/eslint-plugin
-
How to setup ESLint and Prettier on Node https://sourcelevel.io/blog/how-to-setup-eslint-and-prettier-on-node
-
Bulletproof node.js project architecture https://softwareontheroad.com/ideal-nodejs-project-structure/
-
FUTURE: Creating a Node Express-Webpack App with Dev and Prod Builds https://medium.com/@binyamin/creating-a-node-express-webpack-app-with-dev-and-prod-builds-a4962ce51334
-
FUTURE: Graceful shutdown with Node.js and Kubernetes https://blog.risingstack.com/graceful-shutdown-node-js-kubernetes/
-
Docker for Node.js in Production https://medium.com/better-programming/docker-for-node-js-in-production-b9dc0e9e48e0