How rnrinfodgl18/talco_members_portal works
TALCO CETP Member Portal combines a role-based member/staff web portal with an API for accounts, ledgers, circulars, administration and financial-data imports. The main user flow is sign-in, navigate a role-appropriate page, and view or manage portal data; administrators also import voucher files for parsing, matching and posting. The graph preserves the documented portal areas and the visible import-processing layers. Router-to-service wiring and several page-to-endpoint links are not shown in the excerpts, so those connections are omitted rather than inferred.
Main entry points: main.py API application · App.tsx Portal shell · import_pipeline.py Import posting · security.py Token security
Components 24
Web portal
- Portal shell
web/src/App.tsx - Sign-in
web/src/AuthPage.tsx - Member portal
web/src/PortalPage.tsx - Admin pages
web/src - API client
web/src/api.ts
API and access
- API application
api/app/main.py - Authentication routes
api/app/routers/auth.py - User access
api/app/routers/user_access.py - Portal routes
api/app/routers/portal.py - Settings routes
api/app/routers/settings.py - Business routes
api/app/routers - Token security
api/app/security.py - Import routes
api/app/routers/imports.py - Mapping routes
api/app/routers/mappings.py
Import processing
- Import posting
api/app/services/import_pipeline.py - Voucher parsing
api/app/importer/parser.py - Excel parsing
api/app/importer/excel_parser.py - Party matching
api/app/importer/matcher.py - Name normalization
api/app/importer/normalize.py - Master loading
api/app/services/master_load.py
Domain and persistence
- Business records
api/app/models/entities.py - Account records
api/app/models/auth.py - SQL database
api/app/db.py
Other components
- Portal user
Connections 29
- Portal user → Portal shell: uses
web/src/App.tsx - Portal shell → Sign-in: shows
web/src/App.tsx - Portal shell → Member portal: routes to
web/src/App.tsx - Portal shell → Admin pages: routes to
web/src/App.tsx - Portal shell → API application: fetches auth and settings
web/src/App.tsx - API application → Authentication routes: registers
api/app/main.py - API application → User access: registers
api/app/main.py - API application → Portal routes: registers
api/app/main.py - API application → Settings routes: registers
api/app/main.py - API application → Business routes: registers
api/app/main.py - API application → Import routes: registers
api/app/main.py - API application → Mapping routes: registers
api/app/main.py - API application → SQL database: opens sessions
api/app/main.py - Authentication routes → Token security: uses token helpers
api/app/routers/auth.py - Authentication routes → Account records: reads and writes
api/app/routers/auth.py - Token security → Account records: checks tokens and users
api/app/security.py - Portal routes → Business records: queries portal data
api/app/routers/portal.py - Portal routes → Token security: requires authentication
api/app/routers/portal.py - Settings routes → Token security: requires authentication
api/app/routers/settings.py - Settings routes → Business records: uses models
api/app/routers/settings.py - Import posting → Voucher parsing: uses parser
api/app/services/import_pipeline.py - Import posting → Party matching: uses matching
api/app/services/import_pipeline.py - Import posting → Name normalization: uses normalization
api/app/services/import_pipeline.py - Import posting → Business records: creates and updates records
api/app/services/import_pipeline.py - Voucher parsing → Excel parsing: dispatches spreadsheets
api/app/importer/parser.py - Party matching → Name normalization: normalizes names
api/app/importer/matcher.py - Master loading → Party matching: uses matching
api/app/services/master_load.py - Master loading → Name normalization: uses normalization
api/app/services/master_load.py - Portal shell → API client: imports client
web/src/App.tsx