Public
Like
C_TuTor
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data โ all from the browser, and deployed in miliseconds.
A web-based platform designed to teach C programming to children through interactive lessons, exercises, and a real-time code editor.
- ๐งฉ Structured Learning Paths: Progressive lessons from basic to advanced concepts
- ๐ป Interactive Code Editor: Real-time compilation and execution of C code
- ๐ Hands-on Exercises: Practice with immediate feedback
- ๐งช Automated Testing: Verify code solutions against test cases
- ๐ Progress Tracking: Monitor learning achievements
โโโ backend/
โ โโโ database/
โ โ โโโ migrations.ts # Schema definitions
โ โ โโโ queries.ts # DB query functions
โ โโโ routes/
โ โ โโโ api.ts # API routes
โ โ โโโ static.ts # Static file serving
โ โโโ services/
โ โ โโโ compiler.ts # C code compilation service
โ โ โโโ exercises.ts # Exercise management
โ โโโ index.ts # Main entry point
โโโ frontend/
โ โโโ components/
โ โ โโโ CodeEditor.js # Interactive code editor
โ โ โโโ ExercisePanel.js # Exercise display and testing
โ โ โโโ LessonView.js # Lesson content display
โ โโโ data/
โ โ โโโ lessons.js # Lesson content
โ โ โโโ exercises.js # Exercise definitions
โ โโโ index.html # Main HTML template
โ โโโ app.js # Frontend JS entry point
โ โโโ style.css # Custom styles
โโโ shared/
โโโ types.ts # Shared type definitions
- Students select a lesson from the structured learning path
- Each lesson includes explanations, examples, and interactive code snippets
- Students can write and execute C code directly in the browser
- Exercises challenge students to apply what they've learned
- Automated tests verify solutions and provide immediate feedback
- Progress is tracked to guide the learning journey
- Frontend: HTML, CSS, JavaScript, TailwindCSS
- Code Editor: Monaco Editor
- Backend: Hono (TypeScript)
- Database: SQLite
- C Compilation: WebAssembly-based C compiler