How jonaslavaautomation/ezlynx works
Northstar AMS is a browser-based insurance agency management system. Its main workflow is maintaining client and policy records, entering quote data, comparing simulated carrier rates, then binding a selection to a policy; related work continues through renewals, claims, documents, messages and accounting. The app supports Supabase or browser-local persistence. README-documented capabilities are included even where their source was not sampled; those areas are represented at module-directory level, and their internal connections are not inferred.
Main entry points: App.tsx App routing · db.ts Data access · index.tsx Client records · Layout.tsx Workspace shell
Components 30
App shell
- App routing
src/App.tsx - Workspace shell
src/components/Layout.tsx - UI components
src/components/ui.tsx - Record pickers
src/components/pickers.tsx
Shared services
- Agency context
src/lib/app-context.tsx - Live data hooks
src/lib/hooks.ts - Hash router
src/lib/router.ts - Data access
src/lib/db.ts - Browser storage
- Supabase
- Document file storage
src/lib/filestore.ts - Formatting utilities
src/lib/format.ts - Document generation
src/lib/downloads.ts - Demo data
src/lib/seed.ts
Agency records
- Client records
src/modules/accounts/index.tsx - Applicant fields
src/modules/accounts/applicant-fields.tsx - Account associations
src/modules/accounts/association.ts
Insurance workflows
- Comparative rating
src/modules/quotes/rating.ts - Auto quote workflow
src/modules/autoquote/review.tsx - Policy management
src/modules/policies/index.tsx - Claims intake
src/modules/claims/ClaimsPage.tsx
Agency operations
- Activities queue
src/modules/activities/ActivitiesPage.tsx - Documents and eSign
src/modules/documents/index.tsx - Client messaging
src/modules/messages/index.tsx - Agency accounting
src/modules/accounting/index.tsx - Reports
src/modules/reports/index.tsx - Agency administration
src/modules/admin/index.tsx - Workflow automation
src/modules/admin/automation-engine.ts - User settings
src/modules/usersettings/data.ts
Other components
- Agency user
Connections 34
- Agency user → App routing: uses
- App routing → Workspace shell: renders
src/App.tsx - App routing → Hash router: routes with
src/App.tsx - App routing → Data access: initializes
src/App.tsx - Workspace shell → Agency administration: hosts ticker
src/components/Layout.tsx - Workspace shell → UI components: uses
src/components/Layout.tsx - Agency context → Live data hooks: loads agency data
src/lib/app-context.tsx - Live data hooks → Data access: queries
src/lib/hooks.ts - Data access → Supabase: persists in
src/lib/db.ts - Data access → Browser storage: persists in
src/lib/db.ts - Data access → Document file storage: stores files via
src/lib/db.ts - App routing → Demo data: tops up demo data
src/App.tsx - App routing → Client records: routes to
src/App.tsx - Client records → Applicant fields: uses fields
src/modules/accounts/index.tsx - Client records → Account associations: uses
src/modules/accounts/index.tsx - Client records → Comparative rating: starts quoting
src/modules/accounts/index.tsx - Auto quote workflow → Applicant fields: uses fields
src/modules/autoquote/review.tsx - Auto quote workflow → Comparative rating: rates with
src/modules/autoquote/review.tsx - Comparative rating → Policy management: binds to
- App routing → Policy management: routes to
src/App.tsx - App routing → Claims intake: routes to
src/App.tsx - App routing → Activities queue: routes to
- App routing → Documents and eSign: routes to
src/App.tsx - App routing → Client messaging: routes to
src/App.tsx - App routing → Agency accounting: routes to
src/App.tsx - App routing → Reports: routes to
src/App.tsx - Documents and eSign → Document generation: generates files
- Documents and eSign → Data access: reads and writes
src/modules/documents/index.tsx - Client messaging → Data access: reads and writes
src/modules/messages/index.tsx - Agency accounting → Data access: reads and writes
src/modules/accounting/index.tsx - App routing → Agency administration: routes to
src/App.tsx - Agency administration → Workflow automation: exposes workflows
src/modules/admin/index.tsx - Workflow automation → Client messaging: records outbound messages
src/modules/admin/automation-engine.ts - App routing → User settings: routes to