0.1.8 • Published 4 years ago
ntp-common v0.1.8
Fihe server
Prepare first only before start:
- Run
docker network create fihe-net
command
Steps to run this project in development:
- Run
sh cmd.run.dev.sh
command
Steps to run this project in production:
- Run
sh cmd.run.prod.sh
command
https://myaccount.google.com/u/1/lesssecureapps?pageId=none
Note
(req: Request & { user: SysUser }, res: Response, next) => {}
{
"scripts": {
"build": "tsc",
"start": "nodemon --watch ./src/ --ignore ./src/**/*.spec.ts --exec ts-node ./src/index.ts",
"prod": "ts-node ./src/index.ts",
"start": "echo $APP_ENV; if [ $APP_ENV = 'production' ]; then npm run prod ; else npm run dev; fi"
}
}
Fix type-orm: findAndCount() with relations: id is default require
Account kit
https://github.com/dca/facebook-account-kit-demo/blob/master/server.js