Proyecto-aplicado-en-TIC-2 / API-Central

0 stars 1 forks source link

Nest Logo

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

<p align="center">

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

Description

Nest framework TypeScript starter repository.

Project setup

#installas nestjs

$ https://nodejs.org/en/download/package-manager

#Installar dependencias
$ npm install -g @nestjs/cli
$ npm install --save-dev @nestjs/cli
$ npm install
$ npm install --save-dev @types/node

#NestJS y su CLI:
$ npm install @nestjs/common @nestjs/core

#Azure Key Vault y Azure Identity:
$ npm install @azure/keyvault-secrets @azure/identity

#Dotenv:
$ npm install dotenv

#Installar cli de zure
$ https://learn.microsoft.com/en-us/cli/azure/install-azure-cli#install

#Logear en azure para usar los secretos
$ az login

#agregar el archivo .env con los secretos
#SE ENCUENTRA EN LA WIKI DE LA API EN EL DOCUMETNO "SECRETOS"

Compile and run the project

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Run tests

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Resources

Check out a few resources that may come in handy when working with NestJS:

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.