Meta-Network / meta-cms-backend

Meta Space CMS Backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Meta Space CMS Backend

License:MIT License


Languages

Language:TypeScript 99.8%Language:JavaScript 0.1%Language:Dockerfile 0.1%Language:Shell 0.0%