Add Simtricity Communities developer portal and API documentation#10
Open
Add Simtricity Communities developer portal and API documentation#10
Conversation
New Features: - Developer portal homepage with service catalog (Deno/Hono, deployed to supabase-home-mgf) - Interactive API documentation using Scalar for PostgREST schemas (MyEnergy, Flows, Flux) - Schema-specific OpenAPI endpoints with proper JWT role authentication - Kong status endpoints (/kong-info, /kong-version) with basic auth - Kong Gateway 3.10 LTS upgrade planning documentation Kong Routing Changes: - Add /openapi/rest/* routes for unauthenticated schema spec access (with Accept-Profile headers) - Add home app routes: / (public catalog), /api/docs/* (basic auth protected) - Fix Studio routing: /api/*, /project/*, /monaco-editor/*, /studio (all basic auth) - Route priority fixed: specific routes before catch-alls Security: - Removed anon key disclosure from docs pages - API documentation protected with basic auth (partner developers only) - All credentials via Fly secrets (none in git) - Home app deployment: fly/home/ with secrets template Source code: https://github.com/simtricity/simt-supabase-home
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
Changes
Home Application
supabase-home-mgf(Deno/Hono)Kong Configuration
/openapi/rest/{myenergy,flows,flux}(unauthenticated, for Scalar)/kong-info,/kong-version(basic auth)/(public),/api/docs/*(basic auth)/studio,/project/*,/api/*(basic auth, fixed conflicts)Security
Deployment Status
✅ Home app deployed and healthy
✅ Kong deployed with new routing
✅ Studio access verified
✅ API docs working with schema-specific authentication
Test URLs
Secrets Required
When deploying to new environments, set: