A NodeJS web application building using the following technologies:
- Express
- Bootstrap
- CodeMirror 6.65.7
- Handlebars
- Swagger
- Select2
- JQuery 3.7.1
- PopperJS Core 2.11.8
- FontAwesome 6.5.1
Most libraries are included using CDN's for easy of use.
Run as native node application using npm:
npm install
npm run start
Build and run using Docker:
npm run docker:build
npm run docker:run
Pull image from Docker.io and run with the following:
docker run -d -p 3000:3000 --name express-boilerplate --restart=always --env-file=.env -v data:/app/data sieteunoseis/express-boilerplate:latest
NODE_ENV=production
The NODE_ENV environment variable specifies the environment in which an application is running (usually, development or production). One of the simplest things you can do to improve performance is to set NODE_ENV to “production.”
Setting NODE_ENV to “production” makes Express:
- Cache view templates.
- Cache CSS files generated from CSS extensions.
- Generate less verbose error messages.
API's used in this project can be used externally. Currently they are unsecured. Documentation can be found at:
If you would like to support my work and the time I put in creating the code, you can click the image below to get me a coffee. I would really appreciate it (but is not required).