git clone https://github.com/basarevych/next-dashboard
cd next-dashboard/api
cp .env.example .env
Edit .env file and set your options
cd next-dashboard/common
yarn install --prod
cd ../api
yarn install --prod
yarn start
cd next-dashboard/common
yarn install
cd ../api
yarn install
yarn schema
yarn dev
cp systemd.service /etc/systemd/system/next-dashboard-api.service
systemctl daemon-reload
systemctl enable next-dashboard-api
systemctl start next-dashboard-api
pm2 start pm2.config.js