The quickest way to run the template is to clone the repo and start it with .NET Aspire.
1. Clone the repo
git clone <repo-url>cd BitzOrcas.Modern2. Initialise the database
The API host doubles as a schema-initialisation tool. With Aspire running SQL Server and RabbitMQ, initialise everything in one go:
# Start infrastructure first (SQL Server + RabbitMQ)dotnet run --project src/Hosts/BitzOrcas.AppHost &
# In another terminal — create schema + seed datadotnet run --project src/Hosts/BitzOrcas.Api -- --seed-demoOr if you prefer a single-command flow, the --init-schema flag works the same way (schema + audit tables + seed data), then the process exits without entering the web pipeline:
dotnet run --project src/Hosts/BitzOrcas.Api -- --init-schemaAvailable flags:
| Flag | What it does |
|---|---|
--init-schema | Create all tables → audit sharding tables → seed data |
--seed-demo | Same as --init-schema (alias with clearer intent) |
--seed-only | Skip table creation, run seed data only |
--no-seed | Create tables only, skip seed data |
3. Run the API
Once the database is ready, start the API (or use the AppHost to start everything together):
# Option A: Standalone API (needs SQL Server + RabbitMQ connection strings configured)dotnet run --project src/Hosts/BitzOrcas.Api
# Option B: Full Aspire orchestration (SQL Server + RabbitMQ + API)dotnet run --project src/Hosts/BitzOrcas.AppHostOnce it’s green:
| What | Where |
|---|---|
| API + Scalar docs | https://localhost:7132/scalar |
| Health checks | https://localhost:7132/health |
| Aspire dashboard | http://localhost:18888 (when using AppHost) |
4. Verify the Sandbox module
The template includes a built-in Sandbox module (Notes, Greetings, Ping) to verify everything is working:
# Ping (health check endpoint)curl https://localhost:7132/api/v1/ping
# Create a greetingcurl -X POST https://localhost:7132/api/v1/greetings \ -H "Content-Type: application/json" \ -d '{"name": "World"}'Next
- Demo Accounts — the seeded platform data and what you’ll find in the database.
- Architecture — the modular monolith + VSA mental model.
- Architecture Diagrams — visual overview of the system.