This is a demo project demonstrating a Symfony backend with a React frontend living in the assets directory. The setup allows session sharing between Symfony and a React frontend.
- Symfony handles routes under
/api,/login,/logout, and debug routes (/_profiler,/_wdt) - All other routes are managed by React using a catch-all Symfony route
- Authentication is handled by Symfony with sessions accessible to React
ddev startddev upddev exec php bin/console app:create-user test@test testThat's it! Visit your site at https://[project-name].ddev.site
- Email:
test@test - Password:
test