1.0.0 • Published 7 years ago

next-backend v1.0.0

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
7 years ago

Run development

Copy the example datasources.json

cp server/datasources.local.json.example server/datasources.local.json

Add your pg server config vars

run

node .

Deployment Service

Webhook:

By default this command execute git pull + npm install + npm build

pull backend project (next-backend) http://next.skydrop.com.mx:4000/webhook/backend

pull frontend project (next-frontend) http://next.skydrop.com.mx:4000/webhook/frontend

pull landing project (next-landing) http://next.skydrop.com.mx:4000/webhook/landing

Npm Install

Run Npm Install manually

frontend http://next.skydrop.com.mx:4000/npm/frontend

backend http://next.skydrop.com.mx:4000/npm/backend

Restart Server (Node Services)

deploy (self service) http://next.skydrop.com.mx:4000/restart/deploy

backend http://next.skydrop.com.mx:4000/restart/backend

Git: Revert

project = next-backend, next-frontend or next-landing hash = commit hash http://next.skydrop.com.mx:4000/revert/:project/:hash

Git: Reset

project = next-backend, next-frontend or next-landing hash = commit hash http://next.skydrop.com.mx:4000/reset/:project/:hash

Notes

User Roles:

Customer owner super admin - same as owner without delete account staff

In-team hr ops managment support

All json objects are in test folder