Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afperdomo2/platzi-store-nest

Cursos de nesjs (Platzi)
https://github.com/afperdomo2/platzi-store-nest

docker-compose dockerfile nestjs nodejs postgresql typeorm typescript

Last synced: about 13 hours ago
JSON representation

Cursos de nesjs (Platzi)

Awesome Lists containing this project

README

        


Nest Logo

[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest

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](https://github.com/nestjs/nest) framework TypeScript starter repository.

## Installation

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```

## Test

```bash
# 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](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil Myśliwiec](https://kamilmysliwiec.com)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## Ejecutar diferentes entornos

```bash
# Pasar una variable de entorno en windows
$env:NODE_ENV = 'dev'; npm run start:dev
$env:NODE_ENV = 'stag'; npm run start:dev
$env:NODE_ENV = 'prod'; npm run start:dev

# pasar una variable de entorno en Linux
NODE_ENV=dev npm run start:dev
NODE_ENV=stag npm run start:dev
NODE_ENV=prod npm run start:dev
```

## 🐳 Docker Compose

```sh
# Ejecutar todos los contenedores
docker-compose up -d

# Apagar los servicios
docker-compose down

# Ejecutarlos de forma individual
docker-compose up -d postgres
```

## License

Nest is [MIT licensed](LICENSE).