booking-modular-monolith

A practical Modular Monolith architecture with the latest technologies and architecture like Vertical Slice Architecture, Event Driven Architecture, CQRS, DDD, gRpc, Masstransit and Aspire in .Net 9.

dockerkubernetestemplateboilerplateoauth2cqrsdotnetaspnetcoreddddotnetcoremessaginggrpc
FreeRepo

Preview

booking-modular-monolith preview

Overview

This is a production-ready boilerplate for building modular monolith applications in .NET 9, demonstrating advanced architectural patterns including Vertical Slice Architecture, Domain-Driven Design, CQRS and Event-Driven Architecture.

Features

vertical-slice-architecturedomain-driven-designcqrsevent-driven-architectureevent-sourcinggrpcinbox-patternoutbox-patternminimal-apiopenapihealth-checksdistributed-tracingmodular-designloose-coupling

Feature Flags

userDashboardauthenticationsubscriptionsblogecommerceauthorizationteamsOrgsnotificationsapiDocscachingformsValidationeventDrivencqrseventSourcinggrpcmessaginghealthChecksopenapidistributedTracingmonitoringloggingdockerkubernetes

Recommended Use Cases

medium-to-large-projectsgrowing-complexity-applicationsmaintainability-focused-teamsmicroservices-preparationsmall-to-medium-teams

Frontend

None

Backend

aspnetcoredotnet-9csharpmasstransitmediatrfluent-validationpollyyarpgrpc-dotnet

Auth Providers

identityserveroauth2

Deployment Targets

renderdockerkubernetes

Payment Providers

None

Quick Facts

โญ Stars
415
๐Ÿด Forks
77
๐Ÿงพ License
mit
๐Ÿ”„ Active
Yes
๐Ÿ•’ Last Commit
2025-10-09T12:51:50.000Z

Stack

Framework
aspnetcore
Language
csharp
Database
postgresql, mongodb, eventstore
Auth
identityserver, oauth2, openid-connect
ORM
ef-core
Testing
xunit, nsubstitute, testcontainers
Monitoring
opentelemetry, prometheus, grafana, jaeger
Logging
serilog, kibana
CI
docker, kubernetes

Data Layer

Databases
postgresql, mongodb, eventstore
ORM
ef-core

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
docker, kubernetes

Pricing

Classification
free
Selected
โ€”
Notes
Open source project under MIT license
Get Started with this Boilerplate