Deploy an app through the platforms' React Router integrations

Open
#506 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, react
Domain
backend, devops

Research direction

Start with the deployment how-to, especially its “Runtimes without Node.js” section, and inspect the existing pnpm check:edge setup in apps/aurora for the app and build context. Deploy a thin Cookieplone-generated app through the listed Cloudflare, Vercel, and Netlify React Router integrations, checking the pages, login, assets, and server build size on each. Done when the how-to records tested setups or known failures for all three platforms and removes the untested warning.

Written by the indexing model from the issue text.

Description

04 type: enhancement

Follow-up of #452.

The server build of an Aurora app runs on runtimes without Node.js: pnpm check:edge (#499) builds apps/aurora with every dependency bundled and serves pages from it in workerd on every change. But it uses its own small worker and Miniflare, not the platforms' own build plugins. "Deploy a Plone Aurora app", in the "Runtimes without Node.js" section, says they haven't been tested yet.

To do

Deploy a thin app, generated with Cookieplone, to each platform through its React Router integration, and fix what breaks:

  • Cloudflare Workers, with @cloudflare/vite-plugin, nodejs_compat, and a compatibility date of 2025-04-01 or later, so the Worker's variables are in process.env.
  • Vercel, with vercelPreset() from @vercel/react-router, both in Node.js functions and in the Edge runtime.
  • Netlify, with its React Router plugin, in functions and in Edge Functions.

For each one, check:

  • the home page, a content page, and a page in another language (the bundled translations);
  • logging in, which needs COOKIE_SECRET;
  • the static assets from build/client;
  • the server build's size against the plan's limit (about 2 MB gzipped).

Done when

The deployment how-to has a tested setup for each platform, or says what doesn't work, and the warning that the integrations are untested is gone.

Assisted-by: Claude Opus 5.5

Dominant language
JavaScript
Stars
10
Forks
9
Avg merge
4d 7h
Merged PRs (30d)
54

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plone/aurora

All issues in plone/aurora

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.