Comment on page
- 1.Comfortable dockerized setup, with code hot-reloading out of the box.
- 2.Well-structured Express.js installation for writing modularized, clean code
- 3.Advanced setup for automated tests
- 4.Database Migrations
- 5.Input validation and error-handling
- 6.Multi-core support for high-performance node computing
Installing NodeBootstrap is very easy. It is distributed as an NPM package so you need Node installed on your machine (we recommend using nvm). Once you have Node in place, installing Nodebootstrap is as easy as running;
npm install -g nodebootstrap
Once you have nodebootstrap in place, you can bootstrap several types of code (Dockerized microservice, just a plain-old express webapp or non-dockerized API). The default mode is a Dockerized microservice (which we highly recommend). To install it, you are going to need a working Docker setup on your machine. It is easy to get Docker installed on your computer. Installers for major systems are available at: https://www.docker.com/community-edition
Once you have Docker in place, you can bootstrap a new Dockerized microservice by running:
and following instructions of the installer.
To see all of the options of nodebootstrap (including: how to change destination folder), please run:
Once the installation completes, you will have a functional version of the new project. Installer will output instructions about where to access the project and how to finish building it.