.vscode | ||
migration | ||
src | ||
test | ||
.dockerignore | ||
.env.sample | ||
.eslintrc.js | ||
.gitignore | ||
.gitlab-ci.yml | ||
.prettierrc | ||
docker-compose.yml | ||
Dockerfile | ||
nest-cli.json | ||
ormconfig.js | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json | ||
yarn.lock |
Metropolis
Installation
$ yarn
# edit this file to match your environment
$ cp .env.sample .env
Running the app
# postgres - required by the app
$ docker-compose up -d postgres
# migrations - required to apply before the app runs first time,
# and after new migrations appear
$ yarn migration:run
# development
$ yarn start
# watch mode
$ yarn start:dev
# production mode
$ yarn start:prod
Test
No automatic tests, use cURL or Insomnia.