Skip to content

v2.7.94

Latest
Compare
Choose a tag to compare
@underpostnet underpostnet released this 17 Dec 18:56

underpost.net

underpost.net

template

npm nodedotjs mongodb

Node.js CI Test Downloads Coverage Status Version License

Base template for pwa/api-rest projects.

Develop, build, deploy, test, monitor, and manage multiple runtime applications on virtual machines or container instances.

Create a new project

npm install -g underpost
underpost new app-name

After template installation, the server will be running on http://localhost:4001

Usage

cd app-name

Build client bundle

npm run build

Run dev client server

npm run dev

Run dev api server

npm run dev-api

Run on pm2

npm run pm2

Run on docker-compose

npm run start:docker

Run on docker

# build image
docker build . -t app-name
# run image
docker run --name app-name-instance -p 41061:3001 -p 41062:3002 app-name