Add PlanX Digital Planning scenario#144
Merged
Merged
Conversation
Full NDX:Try scenario for PlanX — the open-source digital planning platform used by 18+ UK councils. Deploys as a StackSet (ndx-try-planx) with 4 ECS Fargate services, Aurora PostgreSQL, and CloudFront. Architecture: - Hasura GraphQL (with 374 migrations + seed data) - Node.js API (with demo auth bypass for sandbox) - ShareDB (real-time collaborative editing) - Editor SPA (React/Vite served by nginx) - Aurora PostgreSQL Serverless v2 (PostGIS, pgcrypto, fuzzystrmatch, pg_cron) - Single CloudFront distribution with ALB path-based routing Includes CDK infrastructure, Docker overlays, GHCR build workflow, 5-step walkthrough with screenshots, BLUEPRINT for ISB registration, and seed data (NDX Demo Council team with sample planning flows).
- Hasura: copy entrypoint-wrapper.sh to build context - API: use patch-demo-auth.sh to apply overlay (copies demo-auth.ts to modules/auth/ and patches server.ts imports)
Accept main's digital-planning-register (order 11), append planx (order 12).
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
ndx-try-planxalready created in hub account and tested in sandboxghcr.io/co-cddo/ndx_try_aws_scenarios-planx-{hasura,api,sharedb,editor}:latestWhat's included
cloudformation/scenarios/planx/cdk/) — 7 constructs: networking, database, compute, storage, cloudfront, main stackdocker/) — Hasura with entrypoint wrapper (DNS wait + extension creation + seed data), API with demo auth bypass, Editor with domain validation patch, ShareDBKey architecture decisions
/v1/*,/v2/*,/console/*) routed directly to engine on port 8080VITE_APP_ENV=sandbox(avoids Airbrake crash) and CloudFront/ALB domain validation patchTest plan