How simplyajay/journal-entry works
This is a desktop journal-entry application for creating and managing organizational accounting records. The principal workflow is to authenticate or set up an organization, then create, edit, search, and view journal entries with accounting lines and supporting documents. The renderer communicates with Electron through an IPC bridge; Electron initializes a local SQLite database and registers domain handlers. The tree indicates additional account, organization, and audit-log capabilities. Source excerpts were limited, so links between unsampled handlers and repositories are omitted where their calls cannot be verified.
Main entry points: main.ts Electron main · App.tsx App routes · preload.ts Preload bridge · login Login and setup
Components 22
Desktop interface
- App routes
renderer/src/App.tsx - Login and setup
renderer/src/features/login - Dashboard
renderer/src/features/dashboard/Dashboard.tsx - Settings
renderer/src/features/settings - Auth state
renderer/src/contexts
Journal-entry workflow
- Entry list
renderer/src/features/jev/list - Entry forms
renderer/src/features/jev/form - Entry view
renderer/src/features/jev/view/ViewJev.tsx
Electron services
- Preload bridge
electron/preload.ts - Electron main
electron/main.ts - Auth handlers
electron/ipc/handlers/auth.ts - Entry handlers
electron/ipc/handlers/jev.ts - Organization handlers
electron/ipc/handlers/organization.ts - User handlers
electron/ipc/handlers/user.ts - Audit handlers
electron/ipc/handlers/log.ts - Session handlers
electron/ipc/handlers/session.ts
Local persistence
- SQLite database
electron/db/database.ts - Entry repository
electron/db/repositories/jev.ts - Organization repository
electron/db/repositories/organization.ts - User repository
electron/db/repositories/user.ts - Log repository
electron/db/repositories/log.ts
Other components
- User
Connections 20
- User → App routes: uses
- App routes → Login and setup: routes to
- App routes → Dashboard: routes to
- App routes → Entry list: routes to
- App routes → Entry forms: routes to
- App routes → Entry view: routes to
- App routes → Settings: routes to
- Login and setup → Auth state: uses
- Login and setup → Preload bridge: invokes API
- Settings → Preload bridge: invokes API
- Entry list → Preload bridge: invokes API
- Entry forms → Preload bridge: invokes API
- Entry view → Preload bridge: invokes API
- Electron main → SQLite database: initializes
- Electron main → Auth handlers: registers
- Electron main → Entry handlers: registers
- Electron main → Organization handlers: registers
- Electron main → User handlers: registers
- Electron main → Audit handlers: registers
- Electron main → Session handlers: registers