/NestJS-MongoDB

Nestjs-mongoDB

Primary LanguageTypeScript

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

Description

Practicing nestjs for an interview
nestjs - mongoDB - Docker - CRUD API - Serverless - AWS - Terraform

Tasks

Add Husky/Commitlint/prettier - Done
Create CRUD with nestjs CRUD - Done
Add mongoDB - Done
Deploy docker for server - Done
Add serverless - Done
Deploy backend to AWS using Terraform
Add jest unit test
Add jest end to end test CRUD
Add redis
Add redis into docker container

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run dev

# production mode
$ yarn runprod

# Start server in docker
docker-compose up --build

sls offline

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Resources

Create NestJS API using Typescript, MongoDB, Docker, Docker Compose 
https://dev.to/nyomansunima/create-nestjs-api-using-typescript-mongodb-docker-docker-compose-29k9


[Nest](https://github.com/nestjs/nest) framework TypeScript starter repository.