Double-click run.bat to start the application menu.
cd backend
npm install
npm startcd android
gradlew.bat installDebugchmod +x run.sh
./run.shcd backend
npm install
npm startcd android
./gradlew installDebug- Backend will start on http://localhost:5000
- Android App will be installed on your connected device/emulator
- Enable Keyboard: Go to Settings > Language & Input > Current Keyboard > Select "AI Keyboard"
- Check if MongoDB is running:
mongod - Check if port 5000 is available
- Check .env file configuration
- Enable USB Debugging on device
- Connect device via USB
- Run
adb devicesto verify connection - Make sure Android SDK is installed
You can test the API endpoints using curl or Postman:
# Test predictions
curl http://localhost:5000/api/predictions/predict?text=hello&language=en
# Test autocorrect
curl -X POST http://localhost:5000/api/autocorrect/correct -H "Content-Type: application/json" -d "{\"text\":\"teh\",\"language\":\"en\"}"