Skip to content

Quick Start

Get the Tech Strategy Tool running locally in under five minutes.

Launch the PostgreSQL instance using Docker Compose:

Terminal window
docker compose -f docker/docker-compose.yml up -d

This starts a PostgreSQL 17 container with the required schema pre-configured. The database is available on localhost:5432.

Run the API server with hot reload:

Terminal window
dotnet watch --project src/TechStrat.Api

The server starts on https://localhost:5001. EF Core migrations are applied automatically on first run, and the event processor initializes before the server begins accepting requests. You will see log output confirming the startup sequence.

The Tech Strategy Tool has two web interfaces:

SiteURLPurpose
Strategy Sitehttps://localhost:5001/strategyCreate and edit strategy content
Admin Sitehttps://localhost:5001/adminManage users, teams, and system settings

In development mode, three users are seeded automatically:

UsernamePasswordRole
adminadminAdmin — full access to both sites
editoreditorEditor — can create and modify strategy content
viewerviewerViewer — read-only access to strategy content
  1. Log in to the Admin Site as admin
  2. Navigate to the Teams tab
  3. Enter a team name and pick a color
  4. Click Create Team

Now switch to the Strategy Site, select your team from the team switcher, and start adding principles and objectives.

Stop the development server with Ctrl+C in the terminal.

To stop and remove the database container:

Terminal window
docker compose -f docker/docker-compose.yml down

To stop the database and delete all data:

Terminal window
docker compose -f docker/docker-compose.yml down -v