How arudraviharbommana/transitops_ztca works
TransitOps combines fleet operations management with per-request Zero Trust Continuous Authorization. Users work through the React application to manage vehicles, drivers, trips, maintenance, expenses, reports, and security; requests pass through the API and ZTCA checks before operational routes use repositories backed by SQLite. The README also documents contextual risk, policy enforcement, step-up verification, device/location trust, and audit capabilities. Several UI and route details were not excerpted, so those capability links are shown as unverified rather than asserted as observed calls.
Main entry points: App.tsx Application shell · middleware.ts ZTCA middleware · routes.ts REST API routes · database.ts Collection store
Components 20
Fleet application
- Application shell
src/App.tsx - Dashboard
src/components/Dashboard.tsx - Vehicle management
src/components/Vehicles.tsx - Driver management
src/components/Drivers.tsx - Trip dispatch
src/components/Trips.tsx - Maintenance
src/components/Maintenance.tsx - Expenses
src/components/Expenses.tsx - Reports
src/components/Reports.tsx - Security administration
src/components/AdminPanel.tsx - Trust center
src/components/TrustCenter.tsx - Context display
src/components/ZTCAContextWidget.tsx - Step-up prompt
src/components/StepUpModal.tsx
ZTCA security
- ZTCA middleware
backend/ztca/middleware.ts - Risk and policy engine
backend/ztca/engine.ts - Trust and audit repositories
backend/ztca/store.ts
API and operations
- REST API routes
backend/routes.ts - Operational repositories
backend/repositories.ts
Persistence
- Collection store
backend/database.ts - SQLite database
backend/database.ts
Other components
- Fleet users
Connections 20
- Fleet users → Application shell: uses
README.md - Application shell → Security administration: renders
src/App.tsx - Application shell → Trust center: renders
src/App.tsx - Application shell → Dashboard: offers
src/App.tsx - Application shell → Vehicle management: offers
src/App.tsx - Application shell → Driver management: offers
src/App.tsx - Application shell → Trip dispatch: offers
src/App.tsx - Application shell → Maintenance: offers
src/App.tsx - Application shell → Expenses: offers
src/App.tsx - Application shell → Reports: offers
src/App.tsx - Application shell → Context display: shows context
src/App.tsx - Application shell → Step-up prompt: prompts verification
src/App.tsx - Application shell → REST API routes: sends requests
README.md - REST API routes → ZTCA middleware: checks requests
backend/routes.ts - ZTCA middleware → Risk and policy engine: evaluates risk
backend/ztca/middleware.ts - ZTCA middleware → Trust and audit repositories: checks and audits
backend/ztca/middleware.ts - REST API routes → Operational repositories: handles operations
backend/routes.ts - Operational repositories → Collection store: reads and writes
backend/repositories.ts - Trust and audit repositories → Collection store: persists trust data
backend/ztca/store.ts - Collection store → SQLite database: stores records
backend/database.ts