Skip to content

VictorHugoBatista/taskmanager-api-dicd

Repository files navigation

Nest Logo

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

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app with database with Docker

The commands below requires:

  • docker
  • docker-compose
# Starts the containers
bin/cmp up -d

# Stops the containers
bin/cmp stop

# Restarts the containers
bin/cmp restart

# Destroys the containers
bin/cmp down

# Shorthand for:
# - Destroy all the containers
# - Clear the current database by removing the dbdata directory
# - Recreate the containers with a brand new database
sudo bin/cmp-clear-db

# Shorthand for 'docker exec -it taskmanager-api-nodejs <command>'
# Runs a command inside the node container
bin/exec <command>

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.