full-stack-fastapi-template
full-stack-fastapi-template copied to clipboard
🐛 Ensure frontend waits for backend and redirect unauthenticated users
- Add depends_on to frontend service to wait for backend healthcheck
- Add beforeLoad guard to dashboard route to redirect to login when not authenticated
- Prevents nginx 'host not found' errors and infinite loading spinner
This pull request has a merge conflict that needs to be resolved.