How moisei-line-you/pipline-app works
This repository contains a React client with authentication forms, local file-processing feedback, and a variant analytics dashboard, alongside a NestJS server with authentication and in-memory user accounts. The client entry renders the main page, which brings together the feature areas. Login calls the client auth API; registration does too, but that API currently returns a mock response rather than making a server request. The server exposes separate register/login routes backed by user lookup and creation. Dashboard and file processing remain client-side in the sampled implementation; unsampled connections are omitted.
Main entry points: MainPage.tsx Main page · VariantDashboard.tsx Variant dashboard · auth.module.ts Auth module · auth.controller.ts Auth controller
Components 28
Client shell
- Client entry
client/src/main.tsx - App
client/src/app/App.tsx - Main page
client/src/pages/MainPage/MainPage.tsx
Client authentication
- Login form
client/src/features/auth/ui/LoginCard.tsx - Registration form
client/src/features/auth/ui/RegistrationCard.tsx - Login logic
client/src/features/auth/model/useLogin.ts - Registration logic
client/src/features/auth/model/useRegister.ts - Auth API
client/src/features/auth/api/authApi.ts - Auth types
client/src/features/auth/model/auth.types.ts
Client features
- File processing
client/src/features/file-processing/ui/FileProcessorCard.tsx - File processing logic
client/src/features/file-processing/model/useFileProcessor.ts - Processing types
client/src/features/file-processing/model/processing.types.ts - Size formatter
client/src/shared/lib/formatFileSize.ts - Variant dashboard
client/src/features/variant-dashboard/ui/VariantDashboard.tsx - Variant analytics
client/src/features/variant-dashboard/ui/useVariantAnalytics.ts - Chart configuration
client/src/features/variant-dashboard/ui/chartConfig.ts - Sample data
client/src/features/variant-dashboard/ui/sampleData.ts - Dashboard types
client/src/features/variant-dashboard/ui/types.ts
Server accounts
- Server bootstrap
server/src/main.ts - Application module
server/src/app.module.ts - Auth module
server/src/modules/auth/auth.module.ts - Auth controller
server/src/modules/auth/auth.controller.ts - Auth service
server/src/modules/auth/auth.service.ts - Users module
server/src/modules/users/users.module.ts - Users service
server/src/modules/users/users.service.ts - Registration DTO
server/src/modules/auth/dto/register.dto.ts - Login DTO
server/src/modules/auth/dto/login.dto.ts
Other components
- User
Connections 31
- Client entry → App: renders
client/src/main.tsx - App → Main page: renders
client/src/app/App.tsx - Main page → Login form: includes
client/src/pages/MainPage/MainPage.tsx - Main page → Registration form: includes
client/src/pages/MainPage/MainPage.tsx - Main page → File processing: includes
client/src/pages/MainPage/MainPage.tsx - Main page → Variant dashboard: includes
client/src/pages/MainPage/MainPage.tsx - Login form → Login logic: uses
client/src/features/auth/ui/LoginCard.tsx - Registration form → Registration logic: uses
client/src/features/auth/ui/RegistrationCard.tsx - Login logic → Auth API: calls
client/src/features/auth/model/useLogin.ts - Registration logic → Auth API: calls
client/src/features/auth/model/useRegister.ts - Auth API → Auth types: uses
client/src/features/auth/api/authApi.ts - File processing → File processing logic: uses
client/src/features/file-processing/ui/FileProcessorCard.tsx - File processing logic → Processing types: uses
client/src/features/file-processing/model/useFileProcessor.ts - File processing logic → Size formatter: formats with
client/src/features/file-processing/model/useFileProcessor.ts - Variant dashboard → Variant analytics: uses
client/src/features/variant-dashboard/ui/VariantDashboard.tsx - Variant dashboard → Chart configuration: uses
client/src/features/variant-dashboard/ui/VariantDashboard.tsx - Variant dashboard → Sample data: uses
client/src/features/variant-dashboard/ui/VariantDashboard.tsx - Variant dashboard → Dashboard types: uses
client/src/features/variant-dashboard/ui/VariantDashboard.tsx - Variant analytics → Dashboard types: uses
client/src/features/variant-dashboard/ui/useVariantAnalytics.ts - Sample data → Dashboard types: uses
client/src/features/variant-dashboard/ui/sampleData.ts - Server bootstrap → Application module: bootstraps
server/src/main.ts - Application module → Auth module: imports
server/src/app.module.ts - Application module → Users module: imports
server/src/app.module.ts - Auth module → Auth controller: registers
server/src/modules/auth/auth.module.ts - Auth module → Auth service: provides
server/src/modules/auth/auth.module.ts - Auth module → Users module: imports
server/src/modules/auth/auth.module.ts - Auth controller → Auth service: delegates to
server/src/modules/auth/auth.controller.ts - Auth controller → Registration DTO: accepts
server/src/modules/auth/auth.controller.ts - Auth controller → Login DTO: accepts
server/src/modules/auth/auth.controller.ts - Auth service → Users service: looks up and creates
server/src/modules/auth/auth.service.ts - Users module → Users service: provides
server/src/modules/users/users.module.ts