@underpostnet/underpost
v2.7.9
Published
pwa api rest template
Downloads
191
Maintainers
Readme
underpost.net
template
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