nestjs microservices application with Apache Kafka
1. npm install (for each microservices)
2. docker-compose up (for each microservices)
--nest-ambassador service
CHECKOUT_URL=<checkout frontend url>
STRIPE_KEY=<input your stripe key>
--microservices common
CONFLUENT_CLUSTER_SERVER=<input your apache kafka cluster url>
CONFLUENT_API_KEY=<input your api_key>
CONFLUENT_SECRET_KEY=<input your secret_key>
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# 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"
Nest is MIT licensed.