Main Dashboard
—
Total Licenses—
Question Bank—
Active Licenses—
Used LicensesRecent Activity
Last 5 eventsLoading…
License Management
| # | License Key | Status | Machine ID | Date Created |
|---|
Question Import
Question Registry
| # | Subject | Exam Body | Year | Question Preview | Actions |
|---|
Create New Administrator
Active Administrators
| Username | Full Name | Role | Permissions | Actions |
|---|
System Activity Logs
Loading…
1. Uploading Questions
Upload questions in three formats: CSV, JSON, or Plain Text (.txt).
Format 1: Plain Text (.txt) — blocks separated
by ---
Subject: Mathematics Exam: JAMB Year: 2024 Q: What is 2 + 2? A: 3 B: 4 C: 5 D: 6 ANS: B --- Subject: English Exam: WAEC Year: 2023 Q: Choose the correct spelling. A: Recieve B: Receive C: Recive D: Receeve ANS: B
Format 2: CSV — with headers:
subject, exam_body, year, question_text, option_a, option_b, option_c, option_d, correct_option
Format 3: JSON — array of objects with the same field names as CSV headers.
2. Managing Admin Users
Super Admins can create sub-admins and assign specific permissions. This lets you delegate tasks like license generation or question uploading without giving full system access.
3. Building for Production (htdocs)
The admin dashboard is a static HTML file served by the Node.js admin server.
To deploy to your htdocs/server:
# 1. Copy the admin-server folder to your server # 2. Install dependencies on the server: npm install --production # 3. Start the server (use pm2 for persistence): npm install -g pm2 pm2 start server.js --name chilex-admin pm2 save # The admin panel will be at: http://yourserver.com:4000
Update the BACKEND_URL in
index.html to your server's public URL before deploying.
4. Profile Customization
Go to My Profile to update your display name, phone number, and avatar. Changes are saved when you click the Save button.
5. Math & Scientific Symbols
You can add mathematical equations and scientific symbols in questions using LaTeX syntax. The system uses MathJax to render formulas.
Inline Math — wrap in $...$ (for within a sentence)
$x^2 + y^2 = z^2$
$\frac{a}{b}$
$H_2O$
$\sqrt{x^2 + y^2}$
Display Math — wrap in $$...$$ (for standalone equations)
$$\frac{-b \pm \sqrt{b^2-4ac}}{2a}$$
$$\int_0^\infty e^{-x^2} dx = \frac{\sqrt{\pi}}{2}$$
$$\sum_{i=1}^{n} i = \frac{n(n+1)}{2}$$
Common Symbols:
| Type | Syntax | Output |
|---|---|---|
| Fractions | $\frac{a}{b}$ | a/b |
| Square Root | $\sqrt{x}$ | √x |
| Superscript | $x^2$ | x² |
| Subscript | $H_2O$ | H₂O |
| Plus/Minus | $\pm$ | ± |
| Infinity | $\infty$ | ∞ |
| Alpha | $\alpha$ | α |
| Beta | $\beta$ | β |
| Pi | $\pi$ | π |
| Degree | $90^\circ$ | 90° |
These formulas will also render correctly in the student exam pages.