Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/le2sky/nest-microservices
nestjs microservices application with Apache Kafka
https://github.com/le2sky/nest-microservices
kafka microservices nestjs
Last synced: 4 months ago
JSON representation
nestjs microservices application with Apache Kafka
- Host: GitHub
- URL: https://github.com/le2sky/nest-microservices
- Owner: le2sky
- Created: 2022-01-28T14:05:11.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-24T13:54:51.000Z (almost 3 years ago)
- Last Synced: 2023-03-04T19:17:35.843Z (almost 2 years ago)
- Topics: kafka, microservices, nestjs
- Language: TypeScript
- Homepage:
- Size: 7.22 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## nest-microservices practice
## Installation
```bash
1. npm install (for each microservices)
2. docker-compose up (for each microservices)
```## Configuration
```bash
--nest-ambassador service
CHECKOUT_URL=
STRIPE_KEY=--microservices common
CONFLUENT_CLUSTER_SERVER=
CONFLUENT_API_KEY=
CONFLUENT_SECRET_KEY=
```## 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
```## Seeding
```
# ex) npm run seed:ambassadors
"seed:ambassadors": "ts-node src/commands/ambassador.seeder.ts",
"seed:products": "ts-node src/commands/product.seeder.ts",
"seed:orders": "ts-node src/commands/order.seeder.ts"
```## License
Nest is [MIT licensed](LICENSE).