Initialise the Dispatchlane Node/Fastify scaffold#1
Merged
gabedalmolin merged 5 commits intomainfrom Mar 20, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This pull request establishes the first executable application scaffold for Dispatchlane.
It adds the Node.js and TypeScript runtime baseline, introduces a minimal Fastify API with a
GET /healthzendpoint, documents the local development workflow, aligns package metadata with the repository licence, and expands CI to validate install, typecheck, and build.Recommended review path: review commit-by-commit.
Why
Dispatchlane is intended to be built in public with clear repository discipline and reviewable increments.
Before adding database state, workers, ingestion, or reliability logic, the repository needs a minimal runtime and delivery contract that can be executed locally and validated in CI.
This creates a clean foundation for subsequent pull requests without mixing infrastructure logic into the initial scaffold.
Implementation details
dotenv.src/bin/api.ts.buildApp()insrc/app.tswith a singleGET /healthzroute.typecheck,build,dev, andstartscripts.README.mdto describe the current scaffold scope and local development flow.package.jsonmetadata with the repository licence and clean up unused defaults fromnpm init.npm ci,npm run typecheck, andnpm run build.Behavioural impact
The repository now exposes a minimal executable API.
Running
npm run devstarts a Fastify server andGET /healthzreturns a successful health response.No domain behaviour, persistence, authentication, or background processing is introduced in this pull request.
Risks and trade-offs
This pull request intentionally keeps the scope narrow.
That means some expected backend concerns are still absent, including readiness checks, tests, persistence, observability, worker processes, and runtime containerisation.
This is intentional to preserve reviewability and to avoid mixing project scaffolding with Dispatchlane's reliability model.
Validation
Validated locally with:
npm run typechecknpm run buildnpm run devcurl http://localhost:3000/healthzOut of scope
Follow-up work
api,worker,maintenance) without adding domain logic yet.