Skip to content

underpostnet/pwa-microservices-template-ghpkg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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