Skip to content

A blog app with NestJs, MongoDB, ElasticSearch, RabbitMQ and Cache Manager

Notifications You must be signed in to change notification settings

NayeemNishaat/nestjs-blog

Repository files navigation

API Documentation

All the apis are documented using swagger. Please find the swagger documentation at

Note: For caching used built in caching module (cache-manager) of nestjs. Used Elastic Search v8.7.0

Please create the .env file by following .env.example file before running the application.

Installation

$ npm ci

Running The App

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Running With Docker

$ docker compose up

Docker Hub

docker pull nayeemnishaat/nestjs-blog:latest

Test

# unit tests
$ npm run test

# integration tests
$ npm run test:e2e