Skip to content

americoleonardo/nest-hexagonal-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

be0d3e1 · May 10, 2021

History

5 Commits
May 4, 2021
May 7, 2021
May 7, 2021
May 4, 2021
May 4, 2021
May 4, 2021
May 4, 2021
May 10, 2021
May 4, 2021
May 4, 2021
May 4, 2021
May 4, 2021
May 4, 2021
May 4, 2021
May 4, 2021
May 4, 2021

Repository files navigation

Nest Logo

A Game of thrones application build with hexagonal architecture and NestJS.

NPM Version

Description

This microservice is an experimental repository who you will know how basically:

  • Manage data information in MongoDB;
  • List an external request using axios;
  • Publish and subscribe in Rabbit MQ event broker;
  • Store and retrieve information in Redis cache;
  • Build a beautiful swagger documentation
Basic microservice architecture

Build With

  • NestJS 7.6
  • TypeORM
  • NodeJS v15
  • Rabbit MQ
  • Redis
  • MongoDB
  • Docker
  • Swagger

Getting started

yarn install

cp .env.sample .env

cd docker && docker-compose up -d

Enjoy

Run local

yarn start:dev

Run tests

yarn test

Run coverage

yarn test:cov

Swagger

http://localhost:{you-port}/v1/api-docs

Generate compodoc

compodoc -p tsconfig.doc.json -s

License

MIT licensed.