[3/4] Scaffold web service #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/1-web-scaffold"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
/healthreporting process, PostgreSQL, and Flyway readinessSize
445 handwritten/generated-route lines, plus the required generated 4,544-line
pnpm-lock.yaml. The lockfile is the explicit generated-file exception to the review LOC cap.Verification
pnpm install --frozen-lockfilepnpm lintpnpm typecheckpnpm test(1 passed)pnpm builddocker build .Stack 3 of 4. Depends on and targets
feat/1-flyway-scaffold; merge the preceding PRs first.ce2e41cfb3to2f53be70a0@ -0,0 +1,12 @@import { createFileRoute } from "@tanstack/react-router";/api/health path
@ -0,0 +7,4 @@const databaseUrl = process.env.DATABASE_URL;const pool = databaseUrl ? new Pool({ connectionString: databaseUrl }) : null;export async function getHealthResponse(): Promise<Response> {Lets just return 200 ok first, no query postgres
@ -0,0 +7,4 @@};}export function buildHealthReport(Same, hardcode 200 ok first for health