How resgistro-team/registro works
Registro is an event discovery and management platform; this repository currently implements a Flask API, while the frontend directory contains no application source. The intended workflow is organizer event creation and publication, attendee discovery and registration, then organizer registration tracking and attendee My Events. The graph shows the implemented API stages and shared persistence layer, plus Supabase authentication and PostgreSQL. README capabilities without frontend implementation are not represented as working components; the routes are sampled, but database schema details and unsampled repository functions are not expanded.
Main entry points: auth.py Profile routes · users.py User views · events.py Event routes · auth_middleware.py Auth middleware
Components 13
API runtime
- Server entry
backend/server.py - Flask app
backend/app.py - JSON conversion
backend/data/json_helpers.py - HTTP helpers
backend/helpers.py
Identity
- Profile routes
backend/routes/auth.py - Auth middleware
backend/auth_middleware.py
Events and registrations
- User views
backend/routes/users.py - Event routes
backend/routes/events.py
Persistence
- Domain repository
backend/data/repository.py - Connection pool
backend/data/db.py
Other components
- API client
- Supabase Auth
- PostgreSQL
Connections 22
- API client → Server entry: sends requests
backend/server.py - Server entry → Flask app: creates app
backend/server.py - Flask app → Profile routes: registers routes
backend/app.py - Flask app → Event routes: registers routes
backend/app.py - Flask app → User views: registers routes
backend/app.py - Profile routes → Auth middleware: requires auth
backend/routes/auth.py - Event routes → Auth middleware: checks identity
backend/routes/events.py - User views → Auth middleware: requires auth
backend/routes/users.py - Auth middleware → Supabase Auth: verifies token
backend/auth_middleware.py - Auth middleware → Domain repository: resolves profile
backend/auth_middleware.py - Profile routes → Domain repository: manages profile
backend/routes/auth.py - Event routes → Domain repository: manages events
backend/routes/events.py - User views → Domain repository: loads user views
backend/routes/users.py - Domain repository → Connection pool: opens connections
backend/data/repository.py - Connection pool → PostgreSQL: queries database
backend/data/db.py - Profile routes → JSON conversion: serializes responses
backend/routes/auth.py - Event routes → JSON conversion: serializes responses
backend/routes/events.py - User views → JSON conversion: serializes responses
backend/routes/users.py - Profile routes → HTTP helpers: formats errors
backend/routes/auth.py - Event routes → HTTP helpers: formats errors
backend/routes/events.py - User views → HTTP helpers: formats errors
backend/routes/users.py - HTTP helpers → JSON conversion: converts values
backend/helpers.py