https://github.com/andrewrunner/online-courses-store
Microservice backend app of online cources store (NestJS, RabbitMQ, Nx, mongoose, SAGA, CQRS, DDD)
https://github.com/andrewrunner/online-courses-store
cqrs ddd microservices mongodb mongoose monorepository nestjs nx saga-pattern
Last synced: about 1 month ago
JSON representation
Microservice backend app of online cources store (NestJS, RabbitMQ, Nx, mongoose, SAGA, CQRS, DDD)
- Host: GitHub
- URL: https://github.com/andrewrunner/online-courses-store
- Owner: andrewrunner
- Created: 2024-10-29T12:25:01.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-20T12:08:12.000Z (over 1 year ago)
- Last Synced: 2025-04-06T21:47:19.051Z (about 1 year ago)
- Topics: cqrs, ddd, microservices, mongodb, mongoose, monorepository, nestjs, nx, saga-pattern
- Language: TypeScript
- Homepage:
- Size: 175 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Online courses store
### Use
- [NestJS](https://nestjs.com/)
- RabbitMQ with nestjs-rmq (NestJS offers an out of the box microservices experience but misses out on some of the powerful functionality offered by individual transport layers)
- Nx (monorepo)
- MongoDB, Mongoose
- passport jwt and bcrypt
- class-validator
```sh
#To run the dev server for account service
npx nx serve accounts
#To run the dev servers for all services
npx nx run-many --target=serve --all --parallel=4
#To create a production bundle
npx nx build accounts
#To see all available targets to run for a project
npx nx show project accounts
#To generate a new application
npx nx g @nx/nest:app demo
#To generate a new library
npx nx g @nx/node:lib mylib
# Test app
npx nx test accounts
npx nx test accounts --skip-nx-cache
npx nx test accounts --skip-nx-cache --runInBand
#To connect to Nx Cloud, run the following command:
npx nx connect
#Use the following command to configure a CI workflow for your workspace:
npx nx g ci-workflow
```