Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdelhadinaimi/nest-microservices
Small user management system using nest microservices
https://github.com/abdelhadinaimi/nest-microservices
cqrs docker event-sourcing microservice mongodb nestjs nodejs redis
Last synced: 3 months ago
JSON representation
Small user management system using nest microservices
- Host: GitHub
- URL: https://github.com/abdelhadinaimi/nest-microservices
- Owner: abdelhadinaimi
- Created: 2019-10-07T07:35:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-13T14:15:55.000Z (over 1 year ago)
- Last Synced: 2024-07-01T00:25:08.116Z (4 months ago)
- Topics: cqrs, docker, event-sourcing, microservice, mongodb, nestjs, nodejs, redis
- Language: TypeScript
- Homepage:
- Size: 1.38 MB
- Stars: 39
- Watchers: 3
- Forks: 7
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nest-microservices
Small user management system using nest microservicesTo start up the project execute up.sh in scripts/
# Architecture
This project uses a microservices architecture, it uses an API Gateway and a message broker to publish and consume events.
This diagram shows how the api gateway responds to an incoming request :Authentification and authorization is done thru a JWT Token using Auth0.
# References
* https://microservices.io
* [Martin Flowler's blog post on CQRS](https://martinfowler.com/bliki/CQRS.html)
* https://github.com/kamilmysliwiec/nest-cqrs-example/
* [herbertograca's blog on DDD, hexagonal architecture and CQRS](https://herbertograca.com/2017/11/16/explicit-architecture-01-ddd-hexagonal-onion-clean-cqrs-how-i-put-it-all-together/)