Skip to content

Mercyogbenjuwa/StereoPay

Repository files navigation

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

$ npm i -g @nestjs/cli

$ cd project-name

$ nest new project-name

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

MIGRATIONS

Creating Migrations

Migrations are created in the src/migrations folder. Run the command below npx typeorm migration:create ./src/db/migration/createMediaTable

running migrations

To run migrations, Run the following commands

  1. yarn typeorm migration:run -d ormconfig.ts

For more information about typeorm nest-js migration, see https://anjith-p.medium.com/typeorm-database-migrations-in-nestjs-apps-ace923edf1bf

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published