How dream-hun/droneverse works
This is a Laravel/Inertia drone-flight learning platform: pilots browse courses, fly graded simulator challenges, complete quizzes, and track progress; paid plans unlock features, while staff administer content, accounts, and billing. The tree also shows analytics, leaderboards, drone photos, and account security. Sampled controllers confirm course catalog/progress assembly, challenge-run grading and recording, and Creem billing operations. README content was empty, and most source was not sampled, so uncertain subsystem wiring is omitted.
Main entry points: app.tsx Inertia app entry · ChallengeController.php Challenge runs · play.tsx Challenge simulator page · RecordChallengeAttempt.php Record challenge attempt
Components 23
Learning and progress
- Course catalog
app/Http/Controllers/CourseController.php - Courses and missions
app/Models/Course.php - Challenge runs
app/Http/Controllers/ChallengeController.php - Grade simulator run
app/Actions/GradeSimulatorRun.php - Record challenge attempt
app/Actions/RecordChallengeAttempt.php - Pilot progress
app/Models/UserChallengeProgress.php - Quiz experience
app/Http/Controllers/QuizController.php - Grade quiz submission
app/Actions/GradeQuizSubmission.php - Pilot analytics
app/Http/Controllers/AnalyticsController.php
Flight simulator
- Challenge simulator page
resources/js/pages/challenges/play.tsx - Simulator canvas
resources/js/components/simulator/simulator-canvas.tsx - Flight simulation
resources/js/hooks/use-drone-simulation.ts - Run grader
resources/js/lib/simulator/grader.ts
Plans and billing
- Checkout and billing
app/Http/Controllers/CheckoutController.php - Creem integration
app/Http/Integrations/Creem.php
Administration
- Admin content and accounts
app/Http/Controllers/Admin/CourseController.php - Admin workspace
resources/js/pages/admin/courses/index.tsx
Web experience
- Quiz page
resources/js/pages/quizzes/show.tsx - Analytics page
resources/js/pages/analytics.tsx - Inertia app entry
resources/js/app.tsx
Other components
- Pilot
- Browser
- Creem
Connections 18
- Pilot → Browser: uses
- Browser → Inertia app entry: loads
- Inertia app entry → Challenge simulator page: renders
- Inertia app entry → Quiz page: renders
- Inertia app entry → Analytics page: renders
- Inertia app entry → Admin workspace: renders
- Course catalog → Courses and missions: queries
- Challenge runs → Grade simulator run: grades
- Challenge runs → Record challenge attempt: records
- Record challenge attempt → Pilot progress: updates
- Challenge runs → Challenge simulator page: renders
- Challenge runs → Run grader: accepts graded run
- Challenge simulator page → Simulator canvas: displays
- Simulator canvas → Flight simulation: runs
- Quiz experience → Grade quiz submission: grades
- Checkout and billing → Creem integration: invokes
- Creem integration → Creem: requests billing
- Admin content and accounts → Admin workspace: renders