How jacqueson1/lifequestrpg works
LifeQuest RPG turns daily and to-do tasks into quests: users create, complete, or delete quests; completion updates daily streaks and awards XP that can advance the character’s level. The dashboard presents quest and character data, while browser code provides animated and audio feedback. The request routing, controller, models, and view are supported by excerpts; the README documents SQLite persistence and interactive effects. Some Laravel bootstrap and account-related modules are included because they are core-indexed, though their runtime role in this product is limited.
Main entry points: TaskController.php Task controller · rpg.js RPG interactions · app.php App bootstrap · web.php Web routes
Components 15
Web interface
- Quest dashboard
resources/views/tasks/index.blade.php - RPG interactions
public/js/rpg.js - Browser audio
Quest workflow
- Task controller
app/Http/Controllers/TaskController.php - Quest records
app/Models/Task.php - SQLite database
Character progression
- Character state
app/Models/Character.php
Laravel foundation
- HTTP entry
public/index.php - App bootstrap
bootstrap/app.php - Web routes
routes/web.php - Base controller
app/Http/Controllers/Controller.php - User account model
app/Models/User.php - User factory
database/factories/UserFactory.php - App service provider
app/Providers/AppServiceProvider.php
Other components
- User browser
Connections 14
- User browser → HTTP entry: sends requests
public/index.php - HTTP entry → App bootstrap: loads app
public/index.php - App bootstrap → Web routes: configures routing
bootstrap/app.php - Web routes → Task controller: dispatches requests
routes/web.php - Task controller → Quest dashboard: renders dashboard
app/Http/Controllers/TaskController.php - Task controller → Quest records: reads and writes
app/Http/Controllers/TaskController.php - Task controller → Character state: updates progression
app/Http/Controllers/TaskController.php - Quest records → SQLite database: persists quests
README.md - Character state → SQLite database: persists character
README.md - Quest dashboard → RPG interactions: interactive feedback
README.md - RPG interactions → Web routes: submits completion
README.md - RPG interactions → Browser audio: generates sounds
README.md - User account model → User factory: uses factory
app/Models/User.php - App bootstrap → App service provider: registers provider