Skip to content

AlexanderYovzhenko/Example_NestJS

Repository files navigation

Example_NestJS_Backend

Nest Logo

Description

API for example - NestJS microservices (TypeScript, Node.js, Nest.js, Postgres, Sequelize, RabbitMQ, Docker, JWT, Telegram Bot, Nanoid, Argon2, Jest and others)


Documentation for endpoints

Home localhost:8080 - home page, check if the server is running

Docs localhost:8080/api/docs - detailed documentation


PgAdmin and RabbitMQ managers

PgAdmin localhost:15432 - Postgres Admin

RabbitMQ localhost:15672 - rabbitMQ manager


Rename .env.example to .env file

.env.example to .env 
check variables of .env file TELEGRAM_BOT_LINK, PGADMIN_DEFAULT_EMAIL, PGADMIN_DEFAULT_PASSWORD and others

Installation

$ npm install

# or

$ npm ci

Running the app in docker

# docker
$ docker compose up --build

Test

# unit tests
$ npm run test

# unit tests detail
$ npm run test:detail

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Example NestJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages