Skip to content

This project consists of two Nest back-ends: a gRPC server and a gRPC client. The latter communicates with the former via RPC and receives requests from any REST client.

Notifications You must be signed in to change notification settings

Pedrovinhas/grpc-nest

Repository files navigation

Description

Nest framework TypeScript starter repository.

Next steps

  • Separate the back-end applications and their corresponding dependencies (currently, both share dependencies).

  • Create a docker-compose configuration for the two back-end applications.

  • Implement gRPC stream communication in the gRPC server to allow the client to see order values in real-time.

Installation

$ npm install

Running the app

# Build containers images
$ docker-compose build

# Start containers
$ docker-compose up -d

# gRPC server
$ npm run start:dev bolsa-valores

# gRPC client
$ npm run start:dev

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.

License

Nest is MIT licensed.

About

This project consists of two Nest back-ends: a gRPC server and a gRPC client. The latter communicates with the former via RPC and receives requests from any REST client.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published