Skip to content

mdukkdo/nestjs-monorepo-starter

Repository files navigation

Prerequisite

  • Node: 14 => <= 16
  • Docker

Instalation

  • install monorepo dependencies
    $ yarn monorepo:install
  • install project dependencies
    $ yarn workspace <workspaceName> install
  • install lib on project
    $ yarn workspace <workspaceName> add <libName>

Running local

$ yarn infra:local

Running the app

  • local

    $ yarn start:auth-service:dev
    $ yarn start:notification-service:dev

workspace list
$ yarn workspaces info

Tests

  • unit

    # Run monorepo tests
    $ yarn test
  • e2e

    $ yarn test:e2e
    
    • coverage
    $ yarn test:coverage
    

Lint

  • Run monorepo lint

    $ yarn lint
  • Run project lint

    $ yarn workspace <workspaceName> lint
    

Build

  • Run project build
    $ yarn build <workspaceName>
    

About

Starter project with monorepo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published