How trongbe/trongbeshop works
TrongBeshop is a Vietnamese study and exam-practice website. Its main workflow is browsing a quiz, taking it, and submitting answers; the app also supports quiz data synchronization and submission review. Separate capabilities include Google sign-in, AI-assisted quiz creation, and a data-analyst simulation with SQL/Python work, charts, reports, and AI mentoring. The excerpts show the quiz app’s Firebase operations and the simulation’s case-data import; page wiring and several module relationships are not shown, so those connections are omitted or marked unverified.
Main entry points: app.js Quiz experience · simulation.js Simulation workspace · gemini.js Gemini API proxy · auth.js Google sign-in
Components 12
Quiz practice
- Quiz experience
js/app.js - Quiz bank
js/data.js - Submissions and review
js/app.js
Identity and sync
- Google sign-in
js/auth.js
AI quiz tools
- AI quiz creator
js/gemini.js - Quiz assistant
js/tronex-ai.js
Analyst simulation
- Simulation workspace
js/simulation.js - Case studies
js/simulation-data.js - Gemini API proxy
api/gemini.js
Other components
- Learner
- Firebase services
- Google Gemini
Connections 9
- Learner → Quiz experience: takes quizzes
- Quiz experience → Quiz bank: loads questions
js/app.js - Quiz experience → Firebase services: syncs quiz data
js/app.js - Quiz experience → Firebase services: writes submissions
js/app.js - Submissions and review → Firebase services: reads submissions
js/app.js - Google sign-in → Firebase services: reads and writes profiles
js/auth.js - Simulation workspace → Case studies: loads cases
js/simulation.js - Simulation workspace → Gemini API proxy: requests AI feedback
- Gemini API proxy → Google Gemini: requests generation
api/gemini.js