How tezosclubnexuscit/devforge works
DevForge is a full-stack practice suite for solving HTML/CSS/JavaScript challenges. Learners choose a curated or generated challenge, edit code in a workspace, compare a live preview with the target, run browser tests, and review saved progress. AI hints and challenge generation use configurable local or cloud language models; the app also supports provider configuration and local model management. The graph reflects documented capabilities and indexed module references; some implementation details are unsampled, so uncertain links are omitted.
Main entry points: App.tsx Application shell · Workspace.tsx Coding workspace · main.py FastAPI application · api.ts Frontend API client
Components 24
Practice workspace
- Application shell
frontend/src/App.tsx - Challenge browser
frontend/src/components/ChallengeBrowser.tsx - Coding workspace
frontend/src/components/Workspace.tsx - Code editor
frontend/src/components/CodeEditor.tsx - Live preview and tests
frontend/src/components/LivePreview.tsx - Target output preview
frontend/src/components/ExpectedOutputPreview.tsx - Test results
frontend/src/components/TestResults.tsx - AI tutor modal
frontend/src/components/AIHintModal.tsx - Progress dashboard
frontend/src/components/ProgressDashboard.tsx - LLM settings and installer
frontend/src/components/LLMSettingsModal.tsx - Challenge generator
frontend/src/components/ChallengeGeneratorModal.tsx - Frontend API client
frontend/src/services/api.ts
Challenge services
- FastAPI application
backend/app/main.py - Challenge API
backend/app/api/challenges.py - Submission API
backend/app/api/submissions.py - Challenge validation
backend/app/services/challenge_validator.py - Challenge and API schemas
backend/app/schemas/challenge.py - Curated challenge seed data
backend/app/seed_data.py
AI services
- LLM API
backend/app/api/llm.py - LLM provider service
backend/app/services/llm_service.py
Persistence and progress
- Progress API
backend/app/api/progress.py - SQLite data models
backend/app/models/database.py
Other components
- Learner
- LLM providers
Connections 37
- Learner → Application shell: uses
README.md - Application shell → Frontend API client: loads data
frontend/src/App.tsx - Application shell → Coding workspace: opens workspace
frontend/src/App.tsx - Application shell → Challenge browser: shows challenges
frontend/src/App.tsx - Application shell → Progress dashboard: shows progress
frontend/src/App.tsx - Application shell → LLM settings and installer: opens settings
frontend/src/App.tsx - Application shell → Challenge generator: opens generator
frontend/src/App.tsx - Coding workspace → Code editor: renders
frontend/src/components/Workspace.tsx - Coding workspace → Live preview and tests: renders
frontend/src/components/Workspace.tsx - Coding workspace → Target output preview: renders
frontend/src/components/Workspace.tsx - Coding workspace → Test results: renders
frontend/src/components/Workspace.tsx - Coding workspace → AI tutor modal: opens
frontend/src/components/Workspace.tsx - Coding workspace → Frontend API client: submits code
frontend/src/components/Workspace.tsx - Challenge browser → Frontend API client: loads challenges
- Progress dashboard → Frontend API client: loads progress
- LLM settings and installer → Frontend API client: configures provider
frontend/src/components/LLMSettingsModal.tsx - Challenge generator → Frontend API client: requests challenge
frontend/src/components/ChallengeGeneratorModal.tsx - AI tutor modal → Frontend API client: requests hint
frontend/src/components/AIHintModal.tsx - Frontend API client → FastAPI application: HTTP requests
frontend/src/services/api.ts - FastAPI application → Challenge API: mounts router
backend/app/main.py - FastAPI application → Submission API: mounts router
backend/app/main.py - FastAPI application → LLM API: mounts router
backend/app/main.py - FastAPI application → Progress API: mounts router
backend/app/main.py - FastAPI application → SQLite data models: initializes
backend/app/main.py - FastAPI application → Curated challenge seed data: seeds challenges
backend/app/main.py - Challenge API → SQLite data models: reads and writes
backend/app/api/challenges.py - Challenge API → Challenge and API schemas: uses schemas
backend/app/api/challenges.py - Challenge API → Challenge validation: validates
backend/app/api/challenges.py - Challenge API → LLM provider service: generates challenges
backend/app/api/challenges.py - Submission API → SQLite data models: records attempts
backend/app/api/submissions.py - Submission API → Challenge and API schemas: uses schemas
backend/app/api/submissions.py - Progress API → SQLite data models: reads progress
backend/app/api/progress.py - LLM API → SQLite data models: loads challenge and settings
backend/app/api/llm.py - LLM API → LLM provider service: requests AI operations
backend/app/api/llm.py - LLM API → Challenge and API schemas: uses schemas
backend/app/api/llm.py - Curated challenge seed data → SQLite data models: populates
backend/app/seed_data.py - LLM provider service → LLM providers: calls provider APIs
backend/app/services/llm_service.py