Skip to content

VFA91/poc-nestjs

Repository files navigation

Description

POC Nest framework TypeScript.

  • NestJS
  • TypeORM
  • MySql
  • DDD
  • CQRS
  • Unit Test
  • Application Test
  • Integration Test (e2e)
  • Serverless
  • Docker
  • Multi Environment

Installation

$ npm install

$ npm install -g serverless

Docker

There is a docker-compose.yml file for starting Docker.

docker-compose up

After running the sample, you can stop the Docker container with

docker-compose down

Running the app

# development
$ npm run build

$ npm start

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Deploy

It's necessary to change DB_PASSWORD in .env.production

# production
$ npm run deploy

Server - API

https://80eacm4nci.execute-api.us-east-1.amazonaws.com/production/

Stay in touch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published