This project uses @nestjsx/crud to simplify and standardize the REST API
Built with
Development
Run
Postgres
start Postgres
# start local postgresdocker-composeuppostgresdocker-composeup-Vpostgres#remove volumes# start local keycloakdocker-composeupkeycloak# stop local postgres before restart againdocker-composedowndocker-composedown-v#remove volumes
if error The container name "/postgres" is already in use by container, remove orphan container.
# start in watch modengserveapi# to turn on logging for `request`NODE_DEBUG=requestngserveapiDEBUG=typeorm:*ngserveapi# optionally you can run with prod env(environment.prod.ts) for tesrting! use this for testing only.ngserveapi--prod
Run Prod Mode
# clean dist firstnpxrimrafdist# then buildngbuildapi--prod# then runnodedist/apps/api/main.js