Skip to content
bitzorcas
EN

Guide

Quick Start

Clone BitzOrcas.Modern and run the whole stack locally with one command.

Last updated

The quickest way to run the template is to clone the repo and start it with .NET Aspire.

1. Clone the repo

Terminal window
git clone <repo-url>
cd BitzOrcas.Modern

2. Initialise the database

The API host doubles as a schema-initialisation tool. With Aspire running SQL Server and RabbitMQ, initialise everything in one go:

Terminal window
# Start infrastructure first (SQL Server + RabbitMQ)
dotnet run --project src/Hosts/BitzOrcas.AppHost &
# In another terminal — create schema + seed data
dotnet run --project src/Hosts/BitzOrcas.Api -- --seed-demo

Or 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:

Terminal window
dotnet run --project src/Hosts/BitzOrcas.Api -- --init-schema

Available flags:

FlagWhat it does
--init-schemaCreate all tables → audit sharding tables → seed data
--seed-demoSame as --init-schema (alias with clearer intent)
--seed-onlySkip table creation, run seed data only
--no-seedCreate 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):

Terminal window
# 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.AppHost

Once it’s green:

WhatWhere
API + Scalar docshttps://localhost:7132/scalar
Health checkshttps://localhost:7132/health
Aspire dashboardhttp://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:

Terminal window
# Ping (health check endpoint)
curl https://localhost:7132/api/v1/ping
# Create a greeting
curl -X POST https://localhost:7132/api/v1/greetings \
-H "Content-Type: application/json" \
-d '{"name": "World"}'

Next