How devdacs/project-management-3 works
This is a project and task management application with a Next.js client and an Express/Prisma server. Users can view projects in board, list, timeline, and table layouts, create projects and tasks, and search across projects, tasks, and users. The server exposes project, task, user, and search routes whose controllers access the database. Client-to-server request wiring is not shown in the sampled source, so that connection is omitted; some view and API details are represented only by their exact tree paths.
Main entry points: page.tsx Project page · prisma.ts Prisma client · index.ts HTTP server · ProjectHeader.tsx Project header
Components 26
Client experience
- App shell
client/src/app/layout.tsx - Dashboard wrapper
client/src/app/dashboardWrapper.tsx - Client state
client/src/app/redux.tsx - API query layer
client/src/state/api.ts - Search page
client/src/app/search/page.tsx
Project and task views
- Project page
client/src/app/projects/[id]/page.tsx - Project header
client/src/app/projects/ProjectHeader.tsx - New project form
client/src/app/projects/ModalNewProject/index.tsx - Board view
client/src/app/projects/BoardView/index.tsx - List view
client/src/app/projects/ListView/index.tsx - Project timeline
client/src/app/projects/TimelineView/index.tsx - Table view
client/src/app/projects/TableView/index.tsx - New task form
client/src/components/ModalNewTask/index.tsx - Portfolio timeline
client/src/app/timeline/page.tsx
Server API
- HTTP server
server/src/index.ts - Project routes
server/src/routes/projectRoutes.ts - Task routes
server/src/routes/taskRoutes.ts - Search routes
server/src/routes/searchRoutes.ts - User routes
server/src/routes/userRoutes.ts - Project operations
server/src/controllers/projectController.ts - Task operations
server/src/controllers/taskController.ts - Search operations
server/src/controllers/searchController.ts - User operations
server/src/controllers/userController.ts
Persistence
- Prisma client
server/src/lib/prisma.ts - Application database
Other components
- User
Connections 27
- User → App shell: opens
- App shell → Dashboard wrapper: renders
client/src/app/layout.tsx - Dashboard wrapper → Client state: uses
client/src/app/dashboardWrapper.tsx - Project page → Project header: renders
client/src/app/projects/[id]/page.tsx - Project page → Board view: selects
client/src/app/projects/[id]/page.tsx - Project page → List view: selects
client/src/app/projects/[id]/page.tsx - Project page → Project timeline: selects
client/src/app/projects/[id]/page.tsx - Project page → Table view: selects
client/src/app/projects/[id]/page.tsx - Project page → New task form: opens
client/src/app/projects/[id]/page.tsx - Project header → New project form: opens
client/src/app/projects/ProjectHeader.tsx - Project header → Client state: reads
client/src/app/projects/ProjectHeader.tsx - Portfolio timeline → API query layer: queries projects
client/src/app/timeline/page.tsx - Portfolio timeline → Client state: reads state
client/src/app/timeline/page.tsx - Search page → API query layer: uses
- HTTP server → Project routes: loads
server/src/index.ts - HTTP server → Task routes: loads
server/src/index.ts - HTTP server → Search routes: loads
server/src/index.ts - HTTP server → User routes: loads
server/src/index.ts - Project routes → Project operations: dispatches
server/src/routes/projectRoutes.ts - Task routes → Task operations: dispatches
server/src/routes/taskRoutes.ts - User routes → User operations: dispatches
server/src/routes/userRoutes.ts - Search routes → Search operations: dispatches
server/src/routes/searchRoutes.ts - Project operations → Prisma client: queries
server/src/controllers/projectController.ts - Task operations → Prisma client: queries
server/src/controllers/taskController.ts - Search operations → Prisma client: searches
server/src/controllers/searchController.ts - User operations → Prisma client: queries
server/src/controllers/userController.ts - Prisma client → Application database: accesses