Mobile App Builder (Capacitor)
Starter configuration so WalletMax IT can compile and publish the signed Android app.
How to publish
- Install Node 22 and Android Studio (or the Android SDK command-line tools).
- Run the Capacitor commands below in a copy of this project.
- Create a release keystore and keep it safe. Never commit it.
- Build the signed release APK or AAB and upload it to Google Play Console.
capacitor.config.json
{
"appId": "com.walletmaxit.educoreos",
"appName": "EduCore OS",
"webDir": "www",
"server": {
"url": "https://eduos.walletmaxit.com",
"cleartext": false
},
"android": {
"allowMixedContent": false,
"backgroundColor": "#f8fafc"
}
}
Build commands
npm install @capacitor/core @capacitor/cli @capacitor/android npx cap init "EduCore OS" com.walletmaxit.educoreos --web-dir=www npx cap add android npx cap sync android cd android && ./gradlew assembleRelease # signed APK needs your keystore # then copy app-release.apk to public/downloads/educore-os.apk
REST API (v1)
Bearer-token endpoints for the native shell and future clients.
| Method | Path | Auth | Purpose |
|---|---|---|---|
| GET | /api/v1/me | Bearer token | Signed-in user and institute |
| GET | /api/v1/attendance?date=YYYY-MM-DD | Bearer token | Attendance for a date |
| POST | /api/v1/attendance | Bearer token | Mark attendance (1-tap) |
| GET | /api/v1/hifz?student_id=ID | Bearer token | Hifz / Noorani records |
| GET | /api/v1/notices | Bearer token | Published notices |