Giter Site home page Giter Site logo

apinest's Introduction

Nest Logo

Tarefa Desafio API Rst NestJs - Parte 2

Commitizen friendly

code style: prettier

Conventional Commits

GitHub issues

GitHub pull requests

GitHub stars

GitHub forks

GitHub contributors

GitHub license

GitHub code size in bytes

GitHub repo size

Table of contents

Definition of done

Equipe de FRONT e BACK elaborar uma api rest com NEST desenvolvendo endpoints para o crud.

  • Melhorias em testes unitários
  • Utilização de variáveis de ambiente
  • Melhorias na documentação do Swagger
  • Uso de migrations e seeds
  • Relatório de cobertura de testes
  • Commits e versionamento semantico com hooks
  • Integração de 2 microserviços utilizando RabbitMQ

EXTRAS:

  • Versionamento Semântico
  • Compodoc
  • Lint-Staged
  • Relacionamentos entre entidades com Seeding e onDelete Cascade

Conteúdo

Commitizen

commitizen is a command line utility that makes it easier to create commit messages following the conventional commit format specification.

Use git cz instead of git commit to use commitizen.

Add and commit with Commitizen

Configuration file: .czrc.


Commitlint

commitlint checks if your commit messages meet the conventional commit format.

Configuration file: .commitlintrc.

In general the pattern mostly looks like this:

type(scope?): subject  #scope is optional

Are you a good commitizen ?


ESLint

ESLint is a fully pluggable tool for identifying and reporting on patterns in JavaScript.

Configuration file: .eslintrc.js.

For more configuration options and details, see the configuration docs.


Husky

Husky is a package that helps you create Git hooks easily.

Configuration file: .huskyrc.


Prettier

Prettier is an opinionated code formatter.

Configuration file: .prettierrc.
Ignore file: .prettierignore.

For more configuration options and details, see the configuration docs.


Running the app

development

npm run start

watch mode

npm run start:dev

production mode

npm run start:prod

Code scaffolding

Run nest generate|g <schematic> <name> [options] to generate a new Nest Element.


Build

Run npm run build to build the project. The build artifacts will be stored in the dist/ directory.


Test

unit tests

npm run test

e2e tests

npm run test:e2e

test coverage

npm run test:cov

apinest's People

Contributors

cristopherlee avatar maryucha avatar

Watchers

 avatar  avatar

Forkers

cristopherlee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.