How jahidulsec/nev-event-management works
SWiFT is Nevian’s event-management web app. Users sign in, create event proposals with budget and attachments, and submit them for approval; approvers update status, while notifications and email communicate progress. Dashboard areas also manage event types and approvers, employees, products, doctors, permissions, and notifications. Event records and related data use the database; attachments also involve local files. The sampled event action confirms notification and email dispatch, but other route-to-feature wiring and persistence details are not fully visible in the excerpts.
Main entry points: event.ts Event actions · db.ts Application database · form.tsx Proposal form · login-form.tsx Login
Components 21
Access and dashboard
- Login
features/auth/components/login-form.tsx - Session handling
lib/session.ts - Dashboard
app/dashboard/page.tsx - Notification list
features/notifications/components/shared/notification-list.tsx
Event lifecycle
- Proposal form
features/event/components/form.tsx - Event actions
features/event/actions/event.ts - Approval workflow
features/event/actions/consultant-approval.ts - Type approvers
features/event/actions/type-approver.ts - Event views
app/dashboard/events/page.tsx - Preview and print
features/event/components/preview/event-status-section.tsx - Print output
features/event/components/print/print-container.tsx
Reference management
- Employee management
features/employee/actions/employee.ts - Product management
features/product/actions/product.ts - Doctor management
features/doctor/actions/doctor.ts - Permissions
app/dashboard/permission/page.tsx
Persistence and messaging
- Notifications
features/notifications/actions/notification.ts - Application database
config/db.ts - Email delivery
services/email.ts - Attachment files
utils/file.ts
Other components
- Web user
- Mail provider
Connections 22
- Web user → Login: opens
- Login → Session handling: creates session
- Web user → Dashboard: opens
- Web user → Proposal form: submits proposal
- Proposal form → Event actions: creates or updates
- Proposal form → Application database: loads event types
- Event actions → Application database: reads and writes
- Event actions → Attachment files: manages attachments
- Event actions → Notifications: dispatches notices
- Event actions → Email delivery: sends email
- Notifications → Application database: stores notices
- Email delivery → Mail provider: delivers messages
- Web user → Event views: views events
- Event views → Preview and print: opens preview
- Preview and print → Print output: renders print view
- Web user → Notification list: checks notices
- Web user → Employee management: maintains staff
- Web user → Product management: maintains products
- Web user → Doctor management: maintains doctors
- Web user → Permissions: manages permissions
- Web user → Type approvers: configures approvers
- Approval workflow → Application database: updates approval state