Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 844 Bytes

README.md

File metadata and controls

77 lines (52 loc) · 844 Bytes

Meta CMS Backend

Requirements

  • Node.js: >= 16 <17
  • Nats: >= 2.7.0
  • Redis: >= 6.0.0
  • MySQL: >= 8.0.0
  • Docker: latest
  • Grafana + Loki: latest

Installation

yarn install

Edit development config config/config.development.yaml

Running the app

# development
yarn run start

# watch mode
yarn run start:dev

# debug mode
yarn run start:debug

Test

# unit tests
yarn run test

# e2e tests
yarn run test:e2e

# test coverage
yarn run test:cov

Production deployment

Checkout production code

git checkout production

Installation

yarn install

Edit config.production.yaml

Migration database

yarn run typeorm migration:run

Build and start

yarn run build
yarn run start:prod

License

MIT licensed.