aeternity / dex-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Dex-Backend

Installation

$ npm install

Databse

# after any schema definition change run
$ npm install

# or

$ npx prisma generate

Container

# to deploy
npm run db:deploy

# to stop container
npm run db:stop

#to remove / reset container (this helps to erase db also)
npm run db:remove

#if you want to run the container into interactive mode
npm run db

#WARNING: if container runs in interactive mode for the first time run from other terminal :
$ npm run db:push-schema

Running the app

# development
$ npm run serve

# watch mode
$ npm run serve:dev

# debug mode
$ npm run serve:debug

# production mode
$ npm run build
$ npm run serve:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About


Languages

Language:TypeScript 98.6%Language:JavaScript 0.6%Language:Dockerfile 0.6%Language:Shell 0.2%