How ahmadhakimitsnaini/dataku works
DataKu is a web AutoML platform: users create projects, upload and profile CSV data, choose a target, launch background training, and compare models. The graph preserves authentication and the documented prediction/deployment capability. Backend call links use sampled source or SOURCE INDEX references; the README documents the product workflow and queue. Several frontend routes and backend modules were not excerpted, so their detailed interactions are shown only where documented.
Main entry points: App.tsx App routing · database.py SQLite database · tasks.py Training worker · api.ts API client
Components 22
Web application
- App routing
src/App.tsx - Dashboard
src/pages/Dashboard.tsx - Upload modal
src/components/UploadModal.tsx - Project profiling
src/pages/ProjectDetail.tsx - Target selection
src/pages/JobConfig.tsx - Leaderboard
src/pages/Leaderboard.tsx - Login and register
src/pages/Login.tsx - API client
src/lib/api.ts
Backend API
- API application
backend/main.py - Project endpoints
backend/api/projects.py - Upload and profiling
backend/api/upload.py - Training and models API
backend/api/jobs.py - Prediction endpoints
backend/api/predict.py
Authentication
- Auth endpoints
backend/api/auth.py - JWT and password security
backend/core/security.py
Project data
- Domain records
backend/models/domain.py - API schemas
backend/schemas.py - SQLite database
backend/core/database.py
Async training
- Redis broker
- Training worker
backend/worker/tasks.py - Model artifacts
backend/worker/tasks.py
Other components
- User
Connections 38
- User → App routing: uses
- App routing → Dashboard: routes to
src/App.tsx - App routing → Project profiling: routes to
src/App.tsx - App routing → Target selection: routes to
src/App.tsx - App routing → Leaderboard: routes to
src/App.tsx - App routing → Login and register: routes to
src/App.tsx - Dashboard → Upload modal: opens
src/pages/Dashboard.tsx - Dashboard → API client: calls
src/pages/Dashboard.tsx - Upload modal → API client: calls
src/components/UploadModal.tsx - Project profiling → API client: calls
src/pages/ProjectDetail.tsx - Target selection → API client: calls
- Leaderboard → API client: calls
src/pages/Leaderboard.tsx - Login and register → API client: calls
src/pages/Login.tsx - Dashboard → Project profiling: navigates
- Project profiling → Target selection: continues to
- Target selection → Leaderboard: continues to
- API application → Project endpoints: registers
backend/main.py - API application → Upload and profiling: registers
backend/main.py - API application → Training and models API: registers
backend/main.py - API application → Prediction endpoints: registers
backend/main.py - API application → Auth endpoints: registers
backend/main.py - Project endpoints → SQLite database: queries
backend/api/projects.py - Project endpoints → Domain records: uses records
backend/api/projects.py - Upload and profiling → SQLite database: stores metadata
backend/api/upload.py - Upload and profiling → Domain records: uses records
backend/api/upload.py - Training and models API → SQLite database: queries
backend/api/jobs.py - Training and models API → Training worker: dispatches
backend/api/jobs.py - Training and models API → Redis broker: enqueues task
- Redis broker → Training worker: delivers task
- Training worker → Domain records: reads and writes
backend/worker/tasks.py - Training worker → SQLite database: persists scores
backend/worker/tasks.py - Training worker → Model artifacts: saves models
backend/worker/tasks.py - Training worker → Model artifacts: preprocesses and trains
backend/worker/tasks.py - Training and models API → Domain records: returns model records
backend/api/jobs.py - Prediction endpoints → SQLite database: loads model data
backend/api/predict.py - Auth endpoints → JWT and password security: authenticates
backend/api/auth.py - Auth endpoints → SQLite database: reads and writes
backend/api/auth.py - JWT and password security → SQLite database: validates user
backend/core/security.py