Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Getting Started

Tool requirements, editor options, local configuration, and common commands for contributing to BookWorm.

Setup Reference

Use this guide to configure the tools needed for your kind of work. For the shortest first run, follow Run BookWorm locallyCustom DocRun BookWorm locallyThe shortest path from a prepared machine to a responding local BookWorm application.Ownerarchitecture-enabling-teamOpen doc; this page covers the broader setup choices.

Tool requirements

RequirementMinimum or project versionNeeded forVerify
GitCurrent supported release; no project-specific minimumAll changesgit --version
miseCurrent releaseInstalling pinned tools and running workspace tasksmise --version
.NET SDK11.0.100Backend development, backend tests, and the full local applicationdotnet --version
Node.js26 selected by the project toolchain; package engine requires 24 or newerJavaScript workspaces and documentationnode --version
Bun1.4.4Frontend and documentation workspacesbun --version
Aspire CLI17Starting and inspecting the full local applicationaspire --version
Docker Desktop or compatible container runtimeCurrent supported release; no project-specific minimumFull local application and container-backed servicesdocker version and docker info

Git, mise, and the relevant language runtime are enough for most focused changes. Docker and the Aspire CLI are only needed when you run the distributed application locally.

Optional tools

Tool or accessMinimum or project versionUse it whenVerify
BufCurrent releaseEditing Protocol Buffer contractsbuf --version
GitHub CLIVersion 2 or newerCreating or checking pull requests from a terminalgh --version
Azure CLIVersion 2 or newerWorking directly with Azure resourcesaz version
uvManaged by miseA task explicitly requires Python toolinguv --version
Microsoft Entra ID and Microsoft Foundry accessProject and tenant access; no local versionTesting authenticated flows or hosted AI capabilitiesConfirm access in the relevant provider portal

Editor and shell

  • VS Code is a practical choice for mixed .NET, TypeScript, and documentation work. Install the C# tooling and the repository’s recommended extensions when prompted.
  • Visual Studio or JetBrains Rider are good options for .NET debugging and test navigation.
  • Use a shell where mise is activated so commands resolve the selected tool versions. Restart the shell after installing or changing tool versions.

Fork remotes

For pull-request contributions, set origin to your fork and add the main project as upstream. Replace the placeholder with the project’s repository URL:

Terminal window
git remote add upstream <repository-url>
git remote -v

Keep your feature branches on origin; use upstream to synchronize with the shared main branch.

Local services, credentials, and cloud access

For local application runs, Aspire starts the configured backing services as containers. This keeps local database, cache, messaging, storage, and privacy dependencies separate from hosted cloud resources. Unit and contract tests do not require Docker; see Testing MatrixCustom DocTesting MatrixReference tables for test scope, dependencies, local and CI execution triggers, and passing criteria.Ownerarchitecture-enabling-teamOpen doc.

Microsoft Entra ID and Microsoft Foundry are optional for basic local startup. Authenticated user journeys and hosted AI features require valid access and application configuration. Keep credentials in user secrets or environment variables, never in source control.

Useful user-secret commands:

Terminal window
dotnet user-secrets list --project <AppHost-project>
dotnet user-secrets set "<setting-name>" "<secret-value>" --project <AppHost-project>

Replace the placeholders with the AppHost project and setting supplied by your local configuration. Do not clear all secrets to fix a single missing value.

Common workspace commands

Run repository tasks from the repository root. Run Bun commands from the relevant frontend or documentation workspace.

CommandPurpose
mise tasks lsList available repository tasks.
mise run prepareRestore dependencies and configure Git hooks.
mise run buildBuild the .NET solution.
mise run test:unitRun backend unit and architecture tests.
mise run test:contractsGenerate consumer contracts, then verify providers.
mise run testRun the backend test tasks.
mise run formatFormat all supported workspaces.
mise run runStart the local application with Aspire.
bun installInstall dependencies in the current Bun workspace.
bun run devStart the current frontend or documentation development server.
bun run testRun frontend tests from the frontend workspace.
bun run check / bun run fitnessCheck documentation formatting and architecture rules.

For the execution sequence, filters, and result interpretation, see Testing ExecutionCustom DocTesting ExecutionHow to run backend, frontend, contract, browser, and documentation checks locally and interpret their results.Ownerarchitecture-enabling-teamOpen doc. For startup failures, see How to troubleshoot local developmentCustom DocHow to troubleshoot local developmentSymptom-first fixes for local container, port, HTTPS, toolchain, and authentication failures.Ownerarchitecture-enabling-teamOpen doc.