Skip to content

feat: migrate frontend to the new React platform - #43

Merged
MateoLostanlen merged 2 commits into
mainfrom
feat/migrate-to-react-platform
Jul 30, 2026
Merged

feat: migrate frontend to the new React platform#43
MateoLostanlen merged 2 commits into
mainfrom
feat/migrate-to-react-platform

Conversation

@MateoLostanlen

Copy link
Copy Markdown
Member
  • Replace the old Dash frontend (pyronear/pyro-platform) with the new React platform image pyronear/pyro-platform-react:latest, served by nginx on port 8080.
  • Configuration now comes from mounted files (containers/frontend/app-config.js, sites_live_access.json) instead of environment variables; login happens in the UI.
  • Update the PLATFORM_URL default and README accordingly.

Known limitation: the app calls the API from the browser at http://localhost:5050, so pyro-api's CORS must allow the http://localhost:8080 origin.

The frontend service now uses pyronear/pyro-platform-react (nginx static
site on port 8080) configured via mounted app-config.js and
sites_live_access.json instead of environment variables. PLATFORM_URL
default updated accordingly.
@MateoLostanlen
MateoLostanlen requested a review from fe51 July 28, 2026 06:27

@fe51 fe51 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update Matéo !

@MateoLostanlen
MateoLostanlen merged commit 218b76d into main Jul 30, 2026
1 check passed
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.

2 participants