Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curso-microservicios-nest/client-gateway
https://github.com/curso-microservicios-nest/client-gateway
client nats nestjs rest-api
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/curso-microservicios-nest/client-gateway
- Owner: Curso-Microservicios-Nest
- Created: 2024-05-02T05:13:56.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T05:05:51.000Z (about 1 month ago)
- Last Synced: 2024-10-17T17:08:12.892Z (about 1 month ago)
- Topics: client, nats, nestjs, rest-api
- Language: TypeScript
- Homepage:
- Size: 230 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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
```## 🐳 Docker
```sh
# Crear el contenedor de NATS
docker run -d --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats
``````sh
# Crear la imagen de producción
docker build -f Dockerfile.prod -t client-gateway .
```