fizzbuds / nest-ddd-toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run the environment without installing

  1. Fork the repository
  2. Register to gitpod.io
  3. Give access to your GitHub account
  4. Create a New Workspace on gitpod selecting the forked repo
  5. Open vscode in browser or connect to your IDE

Installation

$ pnpm install

MongoDB in memory

$ pnpm exec ts-node mongo-memory-repl-set.ts

Running the app

Make sure MongoDB is up and running.

$ pnpm run start

# watch mode
$ pnpm run start:dev

Test

Tests don't need a running MongoDB instance, they use an in memory database.

# unit and component tests
$ pnpm run test

# api tests
$ pnpm run test:api

About

License:GNU General Public License v3.0


Languages

Language:TypeScript 98.9%Language:JavaScript 1.0%Language:Shell 0.2%