TarasMakarchuk / fb-message-clone

Facebook messanger, microservices API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Facebook messanger, microservices API


Languages

Language:TypeScript 71.5%Language:Java 14.1%Language:Ruby 4.5%Language:Objective-C 4.4%Language:JavaScript 2.9%Language:Objective-C++ 2.2%Language:Dockerfile 0.5%