How ppp16bit/via.me works
This is a task-management application with account registration and login, task tracking, notifications, and a Clara chat interface. The user-facing flow runs from the React app through page-level services to the Elysia backend, where routes, controllers, and domain services handle requests. Task operations can create notifications, while authentication uses JWTs checked against Redis and application data is accessed through Prisma. The README is empty; backend and frontend HTTP wiring is only partly evidenced, so that boundary is marked unverified.
Main entry points: auth.ts Auth middleware · App.jsx React app routes · main.ts HTTP server · HomePage.jsx Task home
Components 32
Web application
- React app routes
src/frontend/src/App.jsx - Landing page
src/frontend/src/pages/LandingPage.jsx - Login page
src/frontend/src/pages/Login.jsx - Registration page
src/frontend/src/pages/Cadastro.jsx - Task home
src/frontend/src/pages/HomePage.jsx - Task cards
src/frontend/src/components/molecules/CardTarefas.jsx - Clara chat
src/frontend/src/pages/ChatClara.jsx - Header and alerts
src/frontend/src/components/molecules/Header.jsx - Side menu
src/frontend/src/components/molecules/MenuLateral.jsx - Auth client
src/frontend/src/services/authService.js - Task client
src/frontend/src/services/taskService.js
Backend API
- HTTP server
src/backend/main.ts - Auth routes
src/backend/routes/authRoutes.ts - Task routes
src/backend/routes/taskRoutes.ts - Chat routes
src/backend/routes/chatRoutes.ts - Notification routes
src/backend/routes/notificationRoutes.ts - User routes
src/backend/routes/userRoutes.ts - Auth controller
src/backend/controllers/authController.ts - Task controller
src/backend/controllers/taskController.ts - Chat controller
src/backend/controllers/chatController.ts - Notification controller
src/backend/controllers/notificationController.ts - User controller
src/backend/controllers/userController.ts
Domain services
- Authentication
src/backend/services/authService.ts - Task management
src/backend/services/taskService.ts - Chat service
src/backend/services/chatService.ts - Notification service
src/backend/services/notificationService.ts - User service
src/backend/services/userService.ts - Auth middleware
src/backend/middleware/auth.ts - JWT utilities
src/backend/utils/jwt.ts
Persistence and auth state
- Prisma client
src/backend/lib/prisma.ts - Redis client
src/backend/lib/redis.ts
Other components
- User
Connections 48
- User → React app routes: uses
src/frontend/src/App.jsx - React app routes → Landing page: routes to
src/frontend/src/App.jsx - React app routes → Login page: routes to
src/frontend/src/App.jsx - React app routes → Registration page: routes to
src/frontend/src/App.jsx - React app routes → Task home: routes to
src/frontend/src/App.jsx - React app routes → Clara chat: routes to
src/frontend/src/App.jsx - Login page → Auth client: calls
src/frontend/src/pages/Login.jsx - Registration page → Auth client: uses
- Task home → Task cards: renders
src/frontend/src/pages/HomePage.jsx - Task home → Header and alerts: renders
src/frontend/src/pages/HomePage.jsx - Task home → Side menu: renders
src/frontend/src/pages/HomePage.jsx - Task cards → Task client: calls
src/frontend/src/components/molecules/CardTarefas.jsx - Clara chat → Header and alerts: renders
src/frontend/src/pages/ChatClara.jsx - Clara chat → Side menu: renders
src/frontend/src/pages/ChatClara.jsx - Clara chat → Chat routes: requests
- Header and alerts → Notification controller: displays
src/frontend/src/components/molecules/Header.jsx - Auth client → Auth routes: requests
- Task client → Task routes: requests
- HTTP server → Auth routes: registers
src/backend/main.ts - HTTP server → Task routes: registers
src/backend/main.ts - HTTP server → User routes: registers
src/backend/main.ts - HTTP server → Chat routes: registers
src/backend/main.ts - HTTP server → Notification routes: registers
src/backend/main.ts - Auth routes → Auth controller: dispatches
src/backend/routes/authRoutes.ts - Task routes → Task controller: dispatches
src/backend/routes/taskRoutes.ts - Chat routes → Chat controller: dispatches
src/backend/routes/chatRoutes.ts - Notification routes → Notification controller: dispatches
src/backend/routes/notificationRoutes.ts - User routes → User controller: dispatches
src/backend/routes/userRoutes.ts - Auth controller → Authentication: calls
src/backend/controllers/authController.ts - Task controller → Task management: calls
src/backend/controllers/taskController.ts - Chat controller → Chat service: calls
src/backend/controllers/chatController.ts - Notification controller → Notification service: calls
src/backend/controllers/notificationController.ts - User controller → User service: calls
src/backend/controllers/userController.ts - Auth routes → Auth middleware: uses
src/backend/routes/authRoutes.ts - Task routes → Auth middleware: uses
src/backend/routes/taskRoutes.ts - Chat routes → Auth middleware: uses
src/backend/routes/chatRoutes.ts - Notification routes → Auth middleware: uses
src/backend/routes/notificationRoutes.ts - User routes → Auth middleware: uses
src/backend/routes/userRoutes.ts - Authentication → Prisma client: reads/writes
src/backend/services/authService.ts - Authentication → JWT utilities: generates
src/backend/services/authService.ts - Authentication → Redis client: stores tokens
src/backend/services/authService.ts - Auth middleware → Redis client: checks tokens
src/backend/middleware/auth.ts - Auth middleware → JWT utilities: verifies
src/backend/middleware/auth.ts - Task management → Prisma client: reads/writes
src/backend/services/taskService.ts - Task management → Notification service: creates alerts
src/backend/services/taskService.ts - Chat service → Prisma client: reads/writes
src/backend/services/chatService.ts - Chat service → Task management: uses
src/backend/services/chatService.ts - Notification service → Prisma client: reads/writes
src/backend/services/notificationService.ts