For practicing microservice basics.
git clone https://github.com/halilkocaoz/e-cinema/
cd e-cinema && docker pull && docker-compose up --build
Movie service: http://localhost:9990
Movie house service: http://localhost:9991
- .NET 8
- RabbitMQ
- MongoDB
- Docker
- Mediator pattern with MediatR
- RESTful web services
- Domain Driven Design
- SOLID
- Movie service POST /movies > inserts new movie to MongoDB, and publishing the MovieCreatedEvent. MediatR handles the event and sends the new movie to RabbitMQ Queue.
- Movie service PUT /movies/{id} > updates exist movie, and publishes the MovieUpdatedEvent. MediatR handles the event and sends the updated movie to RabbitMQ Queue.
- Movie House service consumes the two queue and informs the movie houses.
References: