How takwaessalemselmi-glitch/khotwa-web works
Khotwa is a Tunisian student-orientation website for Bac, Prépa, and Licence students. The main journey is to choose a level, take relevant guidance tests or calculate a Bac FG score, then use opportunities and document checklists; an account can save results and track deadlines and progress. The graph includes the main content areas and the shared quiz, authentication, and API layers. Source excerpts show client-side calls and the API setup; unsampled page wiring and database contents are not inferred.
Main entry points: auth.js Authentication · api.js API client · niveau.js Level journey · index.js Home and MBTI
Components 15
Orientation and guidance
- Home and MBTI
js/index.js - Level journey
js/niveau.js - FG calculator
js/fg.js - Quiz engine
js/quiz.js
Student resources
- Opportunities
js/actualites.js - Student tips
js/astuces.js - Paperwork checklists
js/papiers.js
Accounts and tracking
- Registration and login
js/inscription.js - Authentication
js/auth.js - Student dashboard
js/dashboard.js
Data access
- Browser storage
- API client
js/api.js - JSON server
- Application data
db.json
Other components
- Student
Connections 23
- Student → Home and MBTI: opens
README.md - Home and MBTI → Quiz engine: runs tests
js/index.js - Home and MBTI → Authentication: syncs profile
js/index.js - Home and MBTI → API client: loads content
js/index.js - Level journey → Authentication: syncs profile
js/niveau.js - Level journey → API client: loads quiz
js/niveau.js - Level journey → FG calculator: renders calculator
js/niveau.js - Level journey → Quiz engine: runs tests
js/niveau.js - Registration and login → Authentication: creates account
js/inscription.js - Registration and login → FG calculator: collects score
js/inscription.js - Authentication → API client: requests account data
js/auth.js - Authentication → Browser storage: stores session
js/auth.js - Student dashboard → Authentication: syncs and updates
js/dashboard.js - Student dashboard → API client: loads dashboard data
js/dashboard.js - Opportunities → Authentication: syncs profile
js/actualites.js - Opportunities → API client: loads and saves favorites
js/actualites.js - Student tips → Authentication: reads and updates profile
js/astuces.js - Student tips → API client: loads tips
js/astuces.js - Paperwork checklists → Authentication: syncs profile
js/papiers.js - Paperwork checklists → API client: loads and saves progress
js/papiers.js - FG calculator → API client: loads formulas
js/fg.js - API client → JSON server: sends HTTP requests
js/api.js - JSON server → Application data: watches data file