How thinukar/voyant works
Voyant is documented as a travel-exploration game built around quests, landmarks, an avatar, and AR. The available implementation evidence covers its Node.js backend: requests enter Express, are dispatched to feature routes and controllers, and use MongoDB models; quest and skill flows also use Firebase. The Flutter application source is not present in the supplied tree, so its map, avatar presentation, and AR behavior cannot be traced here. The backend and Functions trees contain parallel API implementations; this graph focuses on the inspected backend entry point.
Main entry points: index.js Feature routes · questController.js Quest and task handling · userSkillsController.js Skill progression · questRoutes.js Quest routes
Components 22
API entry and routing
- Express API
backend/index.js - Quest routes
backend/routes/questRoutes.js - Feature routes
backend/index.js - Token authentication
backend/middleware/auth.js - MongoDB connection
backend/db.js - Firebase services
backend/firebase/firebaseAdmin.js
Quest and travel gameplay
- Quest and task handling
backend/controllers/questController.js - Quest definitions
backend/models/Quest.js - Quest progress
backend/models/UserQuestProgress.js - User trips
backend/models/UserTrips.js - Destinations
backend/controllers/destinationController.js
Player progression
- Skill progression
backend/controllers/userSkillsController.js - Skill catalog
backend/models/Skill.js - Skill classes
backend/models/SkillClass.js - Player skills
backend/models/UserSkills.js
Player features and records
- Avatar management
backend/controllers/avatarController.js - Cosmetics
backend/controllers/cosmeticController.js - Message log
backend/controllers/messageLogController.js - Rewards
backend/controllers/userRewardController.js - Account details
backend/controllers/userAccountDetailsController.js - User groups
backend/controllers/userGroupController.js
Other components
- Player
Connections 22
- Player → Express API: sends requests
backend/index.js - Express API → Quest routes: routes quests
backend/index.js - Express API → Feature routes: routes features
backend/index.js - Express API → MongoDB connection: connects to
backend/index.js - Quest routes → Token authentication: protects routes
backend/routes/questRoutes.js - Quest routes → Quest and task handling: dispatches actions
backend/routes/questRoutes.js - Quest and task handling → Quest definitions: reads quests
backend/controllers/questController.js - Quest and task handling → Quest progress: reads and writes
backend/controllers/questController.js - Quest and task handling → User trips: reads trips
backend/controllers/questController.js - Quest and task handling → Firebase services: awards XP
backend/controllers/questController.js - Feature routes → Destinations: dispatches destinations
backend/index.js - Feature routes → Avatar management: dispatches avatars
backend/index.js - Feature routes → Cosmetics: dispatches cosmetics
backend/index.js - Feature routes → Message log: dispatches messages
backend/index.js - Feature routes → Rewards: dispatches rewards
backend/index.js - Feature routes → Skill progression: dispatches skills
backend/index.js - Feature routes → Account details: dispatches accounts
backend/index.js - Feature routes → User groups: dispatches groups
backend/index.js - Skill progression → Player skills: reads and writes
backend/controllers/userSkillsController.js - Skill progression → Skill catalog: reads catalog
backend/controllers/userSkillsController.js - Skill progression → Skill classes: reads classes
backend/controllers/userSkillsController.js - Skill progression → Firebase services: updates skill points
backend/controllers/userSkillsController.js