How ossinkichi/questcheck works
QuestCheck is a task-management platform with a React client and Laravel API. The intended workflow is user registration or login, quest creation and listing, then quest completion or failure; the README also describes points and redeemable items. The sampled backend implements user and quest endpoints, while the README says the frontend is unfinished. The graph shows evidenced calls and route wiring; rewards are included as a documented capability, but their implementation and connection to the quest workflow are not established by the sampled source.
Main entry points: routes.jsx Client router · QuestController.php Quest endpoints · UserController.php User endpoints · api.php API routes
Components 18
React client
- Client router
frontend/src/routes.jsx - Sign-in and registration
frontend/src/components/Form/SignInForm.jsx - Registration form
frontend/src/components/Form/SignUpForm.jsx - Quest form
frontend/src/components/Form/FormTaskRegister.jsx - Quest list
frontend/src/components/TaskList.jsx - Quest service
frontend/services/quest.service.js - Authentication service
frontend/services/auth.service.js
Laravel API
- API routes
backend/routes/api.php - Quest endpoints
backend/app/Http/Controllers/QuestController.php - User endpoints
backend/app/Http/Controllers/UserController.php - Controller base
backend/app/Http/Controllers/Controller.php - Quest response
backend/app/Http/Resources/QuestResource.php - User response
backend/app/Http/Resources/UserResource.php
Domain data
- Quest model
backend/app/Models/Quest.php - User model
backend/app/Models/User.php - Configured database
backend/config/database.php
Rewards
- Points and items
backend/app
Other components
- User
Connections 23
- User → Client router: uses
frontend/src/routes.jsx - Client router → Sign-in and registration: routes to
frontend/src/routes.jsx - Client router → Registration form: routes to
frontend/src/routes.jsx - Client router → Quest form: routes to
frontend/src/routes.jsx - Client router → Quest list: routes through
frontend/src/routes.jsx - Sign-in and registration → Authentication service: authenticates via
frontend/src/components/Form/SignInForm.jsx - Registration form → User endpoints: registers via
- Quest form → Quest service: creates via
frontend/src/components/Form/FormTaskRegister.jsx - Quest list → Quest service: loads quests via
frontend/src/components/TaskList.jsx - Quest service → API routes: requests quests
- Authentication service → API routes: requests login
- API routes → Quest endpoints: dispatches to
backend/routes/api.php - API routes → User endpoints: dispatches to
backend/routes/api.php - Quest endpoints → Quest model: queries and updates
backend/app/Http/Controllers/QuestController.php - Quest endpoints → Quest response: formats responses
backend/app/Http/Controllers/QuestController.php - User endpoints → User model: queries and updates
backend/app/Http/Controllers/UserController.php - User endpoints → User response: formats response
backend/app/Http/Controllers/UserController.php - Quest endpoints → Controller base: extends
backend/app/Http/Controllers/QuestController.php - User endpoints → Controller base: extends
backend/app/Http/Controllers/UserController.php - Quest model → Configured database: persists through
- User model → Configured database: persists through
- User → Points and items: earns and redeems
- Quest endpoints → Points and items: awards on completion
backend/app/Http/Controllers/QuestController.php