Skip to content

TarasMakarchuk/fb-message-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS NestJS RabbitMQ Microservices Typeorm TypeScript Postgres JWT NPM Postman Git WebStorm

Description

The facebook messenger application.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Create the migration in the Docker container

# run in the IDE's terminal
$ npm run build
$ docker-compose up

# run in the Docker container's terminal
$ npm rum migration:generate -- apps/auth/src/db/migrations/migrationName

Run the migrations

$ npm run typeorm -- migration:run

Drop the migrations

$ npm run typeorm -- schema:drop

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov