feat: add profile screen and update routing; enhance login validation and logout functionality
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Flutter Frontend - User Guide
|
||||
|
||||
This README describes how to use the Flutter frontend for Recipe App from a user and operator perspective.
|
||||
|
||||
Related documents:
|
||||
- [next_steps_flutter.md](../next_steps_flutter.md)
|
||||
- [teknisk_beskrivning_flutter.md](../teknisk_beskrivning_flutter.md)
|
||||
|
||||
## What this app is
|
||||
This is a Flutter Web frontend for Recipe App, served in Docker and exposed through Caddy.
|
||||
It is intended to behave like the existing web frontend, but built in Flutter to support future Android and iOS clients.
|
||||
|
||||
## Current user flows
|
||||
- Login with username and password.
|
||||
- Recipe list view after login.
|
||||
- Profile page (base version).
|
||||
- Logout from recipe/profile pages.
|
||||
|
||||
## Where to access it
|
||||
- Test environment: `https://test.gynther.se`
|
||||
|
||||
## Login details
|
||||
- Login expects username, not email.
|
||||
- Example seeded admin user in backend bootstrap: `Nadmin`.
|
||||
- Password is controlled by server environment variable (`ADMIN_NADMIN_PASSWORD`).
|
||||
|
||||
## Known current scope
|
||||
This is an active migration track. Not all pages from the existing frontend are moved yet.
|
||||
Planned migration sequence is documented in [next_steps_flutter.md](../next_steps_flutter.md).
|
||||
|
||||
## Troubleshooting (user level)
|
||||
1. If page shows old behavior after deploy: hard refresh or open in incognito.
|
||||
2. If login fails: verify username/password (not email).
|
||||
3. If recipes do not load: report browser console/network errors to the dev team.
|
||||
|
||||
## Release expectation
|
||||
This frontend is available for iterative testing. Feature parity with the current production frontend is delivered step by step.
|
||||
Reference in New Issue
Block a user