This is the Flutter frontend of the BhashaBuddy, an educational mobile application for children aged 8–14 to practice dictation through handwriting.
- Flutter (Frontend UI)
- Firebase Auth & Firestore (User data)
- FastAPI (Backend)
- TensorFlow (Handwriting recognition)
Before running the app, ensure the following:
- Set up the FastAPI backend and run the server at
http://10.0.2.2:8000(or use your actual backend IP/host). - Backend must expose:
- REST endpoints (
BASE_URL) - WebSocket endpoints (
WS_URL) - AI inference logic
- Firebase Admin SDK access
- REST endpoints (
To set up Firebase for authentication and Firestore:
- Install Firebase CLI:
npm install -g firebase-tools
- Log into Firebase:
firebase login
- Initialize Firebase:
firebase init
This will generate:
firebase.json
google-services.json (for Android)
Update your Flutter project to use these files:
android/app/google-services.json
Ensure firebase_core and related packages are initialized.
- Clone this repository
- Create a
.envfile in the root and define your backend URL:BASE_URL= https://your-server.com WS_URL = ws://your-server.com
3.Run the app:
flutter pub get
flutter run














