Repository navigation
Host frontend on Vercel, backend on Render - #15
Conversation
✅ Deploy Preview for digisim ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
CI update: the frontend now compiles clean under warnings-as-errors (commit 76028c6 removed the dead code and repaired the Sidebar accordion JSX). Two red items remain, both outside code and identical on the previously merged PR #14: (1) Azure deploy step fails with deployment_token was not provided - the AZURE_STATIC_WEB_APPS_API_TOKEN repo secret is missing or unavailable to this run; adding it requires repo-secrets access. (2) The four netlify/* checks (Header rules, Pages changed, Redirect rules, deploy-preview) are posted by the Netlify GitHub App integration and fail repo-wide; removing them requires unlinking Netlify on the Netlify dashboard or in repo settings. Neither can be fixed from this branch - the workflow file was intentionally left untouched. |
Add vercel.json (CRA build + API rewrites to the Render host + SPA fallback), backend Dockerfile with locked uv deps and gunicorn on $PORT, backend .dockerignore, and render.yaml Blueprint (docker web service, /health check, secrets as sync:false). Route the AI vision intake modal through REACT_APP_API_URL instead of a hardcoded 127.0.0.1:5000 URL; document frontend/backend env examples and add click-through deploy docs with required secrets. No Netlify config, workflow, or references existed in the repo, so there was nothing to delete. Azure Static Web Apps workflow untouched.
Adopt the Azure skip_deploy_on_missing_secrets flag, frontend/.npmrc legacy-peer-deps, and the minimal netlify.toml (satisfies the Netlify GitHub App checks; Vercel plus Render remains the deploy story).
76028c6 to
ebbb877
Compare
Live topology: static frontend on Vercel (global CDN), Flask backend as a Docker container on Render. Browser calls stay same-origin through vercel.json rewrites, so the SameSite=Lax session cookie keeps working with no code changes.
Changes:
Netlify: verified zero Netlify config, workflows, or references repo-wide - nothing to delete. Azure Static Web Apps workflow untouched.
Validation (local, single-run):
Note: no-mistakes pipeline review and document steps were skipped - the pi review agent is 429-quota-exhausted until 2026-09-23T04:00Z. Local validation above stands as evidence. Do not merge from this PR; live hosting is driven separately.