Skip to content

chore: local api server#255

Merged
holloway merged 4 commits intomainfrom
local-api-server
Jan 26, 2026
Merged

chore: local api server#255
holloway merged 4 commits intomainfrom
local-api-server

Conversation

@holloway
Copy link
Contributor

@holloway holloway commented Jan 23, 2026

chore

  • Red's website pulls JSON from precomputer files uploaded to rfc-editor.org/api/...  which has meant that, when prototyping changes, I merge them, run tekton, and try the website again. This is slow and the dev feedback loop takes ten minutes or so. So instead i'm adding a precomputer dev server that can serve those APIs locally

@holloway holloway marked this pull request as ready for review January 26, 2026 01:02
@holloway
Copy link
Contributor Author

fyi @jennifer-richards when running the website locally in local development mode (ie npm run dev) it now uses a local api dev server which the precomputer serves. This is now the default config, and this replaces the existing approach of using staging/prod APIs only. This will improve the dev feedback loop.

You can still easily swap back to the previous approach by uncommenting those proxy: lines in nuxt.config.ts and there's a docstring added about this.

@holloway holloway merged commit a62e689 into main Jan 26, 2026
2 checks passed
@holloway holloway deleted the local-api-server branch January 26, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments