How farhodoff/zyra works
Zyra is a full-stack project-management and collaboration platform. Users authenticate, organize projects and members, manage tasks on a Kanban board, and collaborate through comments, attachments, notifications, and live updates. The frontend routes users through pages and Zustand stores into an HTTP API; the Express backend routes requests to controllers, which operate on MongoDB models. Socket.IO carries live task and collaboration events. The README documents the product capabilities; some backend routes and frontend features were not sampled, so their internal links are omitted or marked unverified.
Main entry points: index.js Express and Socket.IO server · App.jsx Application routing · ProjectView.jsx Kanban project view · commentController.js Comments and mentions
Components 26
Web client
- Application routing
frontend/src/App.jsx - Sign-in and registration
frontend/src/pages/Login.jsx - Project dashboard
frontend/src/pages/Dashboard.jsx - Kanban project view
frontend/src/pages/ProjectView.jsx - Task details
frontend/src/components/TaskDetailsModal.jsx - User profile
frontend/src/pages/Profile.jsx - Authentication state
frontend/src/store/authStore.js - Project state
frontend/src/store/projectStore.js - Task state
frontend/src/store/taskStore.js - HTTP API client
frontend/src/api/api.js - Realtime client
frontend/src/services/socket.js
API and realtime
- Express and Socket.IO server
backend/src/index.js - JWT authorization
backend/src/middleware/authMiddleware.js - Room event handling
backend/src/socket/socketHandler.js
Collaboration domain
- Authentication
backend/src/controllers/authController.js - Project and membership
backend/src/controllers/projectController.js - Task and attachments
backend/src/controllers/taskController.js - Comments and mentions
backend/src/controllers/commentController.js - Notifications
backend/src/controllers/notificationController.js
Persistence
- User records
backend/src/models/User.js - Project records
backend/src/models/Project.js - Task records
backend/src/models/Task.js - Comment records
backend/src/models/Comment.js - Notification records
backend/src/models/Notification.js
Other components
- Team member
- MongoDB
Connections 40
- Team member → Application routing: uses
frontend/src/App.jsx - Application routing → Sign-in and registration: routes to
frontend/src/App.jsx - Application routing → Project dashboard: routes to
frontend/src/App.jsx - Application routing → Kanban project view: routes to
frontend/src/App.jsx - Application routing → User profile: routes to
frontend/src/App.jsx - Application routing → Authentication state: loads session
frontend/src/App.jsx - Sign-in and registration → Authentication state: uses
- Project dashboard → Project state: uses
frontend/src/pages/Dashboard.jsx - Kanban project view → Project state: uses
frontend/src/pages/ProjectView.jsx - Kanban project view → Task state: uses
frontend/src/pages/ProjectView.jsx - Kanban project view → Task details: opens
frontend/src/pages/ProjectView.jsx - Kanban project view → Realtime client: subscribes
frontend/src/pages/ProjectView.jsx - Task details → Task state: uses
frontend/src/components/TaskDetailsModal.jsx - Authentication state → HTTP API client: calls
frontend/src/store/authStore.js - Project state → HTTP API client: calls
frontend/src/store/projectStore.js - Task state → HTTP API client: calls
frontend/src/store/taskStore.js - HTTP API client → Express and Socket.IO server: sends HTTP requests
- Express and Socket.IO server → JWT authorization: protects routes
- Express and Socket.IO server → Authentication: routes requests
backend/src/index.js - Express and Socket.IO server → Project and membership: routes requests
backend/src/index.js - Express and Socket.IO server → Task and attachments: routes requests
backend/src/index.js - Express and Socket.IO server → Comments and mentions: routes requests
backend/src/index.js - Express and Socket.IO server → Notifications: routes requests
backend/src/index.js - Express and Socket.IO server → Room event handling: registers
backend/src/index.js - JWT authorization → User records: loads user
backend/src/middleware/authMiddleware.js - Authentication → User records: reads and writes
backend/src/controllers/authController.js - Project and membership → Project records: reads and writes
backend/src/controllers/projectController.js - Project and membership → User records: looks up members
backend/src/controllers/projectController.js - Task and attachments → Task records: reads and writes
backend/src/controllers/taskController.js - Task and attachments → Project records: checks membership
backend/src/controllers/taskController.js - Comments and mentions → Comment records: reads and writes
backend/src/controllers/commentController.js - Comments and mentions → Task records: loads task
backend/src/controllers/commentController.js - Comments and mentions → Notification records: creates alerts
backend/src/controllers/commentController.js - Notifications → Notification records: manages alerts
backend/src/controllers/notificationController.js - Room event handling → Realtime client: synchronizes events
- User records → MongoDB: persists
- Project records → MongoDB: persists
- Task records → MongoDB: persists
- Comment records → MongoDB: persists
- Notification records → MongoDB: persists