How papirico32/the_watchlist works
The Watchlist is a Flutter community-and-commerce app backed by a FastAPI service and MySQL. Users register or sign in, browse and publish film/series posts, interact through comments and ratings, message other users, and shop through a simulated checkout; profiles and orders remain available afterward. Administration is a role-gated capability. The README documents the app/API/database relationship and these product features. Flutter implementation details were not sampled, so feature-specific client calls are not asserted; backend domain nodes share the route implementation in main.py.
Main entry points: main.py FastAPI routes · screens Feature screens · database.py DB sessions · main.dart Watchlist app
Components 21
Flutter app
- Watchlist app
the_watchlist/lib/main.dart - Feature screens
the_watchlist/lib/screens - API client
the_watchlist/lib/services/api_service.dart - Auth state
the_watchlist/lib/state/auth_provider.dart - App models
the_watchlist/lib/models/models.dart
Identity and profiles
- Authentication
backend_API/main.py - Profile management
backend_API/main.py
Community and messaging
- Posts and ratings
backend_API/main.py - Comments and reactions
backend_API/main.py - Conversations
backend_API/main.py - Administration
backend_API/main.py
Store and orders
- Product catalog
backend_API/main.py - Cart and checkout
backend_API/main.py - Orders and payment
backend_API/main.py
API and persistence
- FastAPI routes
backend_API/main.py - Request schemas
backend_API/schemas.py - ORM models
backend_API/models.py - DB sessions
backend_API/database.py - MySQL database
Other components
- App user
- Separate PHP web
Connections 30
- App user → Watchlist app: uses
README.md - Watchlist app → Feature screens: presents
- Feature screens → API client: requests data
- Feature screens → Auth state: uses session
- Feature screens → App models: displays data
- API client → FastAPI routes: HTTP requests
README.md - Auth state → Authentication: authenticates via
- Feature screens → Profile management: manages profile via
- Feature screens → Posts and ratings: publishes and browses via
- Feature screens → Comments and reactions: interacts via
- Feature screens → Conversations: messages via
- Feature screens → Product catalog: shops via
- Feature screens → Cart and checkout: checks out via
- Feature screens → Orders and payment: views orders via
- Feature screens → Administration: administers via
- FastAPI routes → Authentication: routes
backend_API/main.py - FastAPI routes → Profile management: routes
backend_API/main.py - FastAPI routes → Posts and ratings: routes
backend_API/main.py - FastAPI routes → Comments and reactions: routes
backend_API/main.py - FastAPI routes → Conversations: routes
backend_API/main.py - FastAPI routes → Product catalog: routes
backend_API/main.py - FastAPI routes → Cart and checkout: routes
backend_API/main.py - FastAPI routes → Orders and payment: routes
backend_API/main.py - FastAPI routes → Administration: routes
backend_API/main.py - FastAPI routes → Request schemas: validates with
backend_API/main.py - FastAPI routes → ORM models: queries
backend_API/main.py - FastAPI routes → DB sessions: gets sessions
backend_API/main.py - ORM models → DB sessions: uses base
backend_API/models.py - DB sessions → MySQL database: connects to
README.md - Separate PHP web → MySQL database: shares database
README.md