Skip to content

CeresEcosystem/tools-backend

Repository files navigation

Tools Backend

Installation

$ yarn install

Running the app

# Setup .env
Create .env file and copy .env.example content

# Setup .npmrc
Create .nprmc file and copy .npmrc.example content
Generate personal classic token with read:packages scope [here](https://github.com/settings/tokens)

# Start DB
$ docker-compose up

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

Migrations

# generate migration file
$ yarn typeorm migration:create ./src/database/mysql/migrations/<<file_name>>

# reverting the last migration
$ yarn run typeorm:revert-migration

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Swagger UI

http://localhost:3004/api/swagger

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages