GramSetu is an Expo/React Native application built for rural agriculture communities. It combines local marketplace tools, labor matching, climate and crop insights, AI-assisted farming guidance, multilingual support, and Firebase-backed persistence for a polished mobile experience.
- Mobile-first Expo app targeting Android, iOS, and web
- AI-powered chatbot for farmer assistance and guidance
- Labour marketplace with job listings, worker profiles, and applications
- Multilingual localization support for regional Indian languages
- Firebase integration for auth, data, and real-time updates
- Weather, market pricing, schemes, and climate information modules
- Admin panel support in
admin-panel/
- Expo Router + React Native
- Firebase (Firestore, Auth, Storage)
- TypeScript
- i18next for translations
- Expo location, camera, splash screen, and system UI
- AI integrations via Anthropic, Google GenAI, and local model fallback
app/— Main Expo app screens and routescomponents/— Reusable UI components and feature widgetsservices/— Network, Firebase, AI, and data integration servicesdata/— Static prompts, mock data, translation helperscontexts/— App state and localization contexthooks/— Custom React hooksi18n/— Internationalization setup and locale filesadmin-panel/— Browser-based admin interfacedocs/— Feature and integration guidesBUILD_INSTRUCTIONS.md— Production build and Firebase setup notes
- Node.js 18+ or compatible runtime
- npm or yarn
- Expo CLI installed globally (
npm install -g expo-cli) - Firebase project with web credentials
cd d:/PROJECTS/GramSetu
npm installnpm run devThis starts Expo in development mode. Use the Expo DevTools to open on Android, iOS, or web.
npm run build:webThis project depends on Firebase credentials for production and many app features. See BUILD_INSTRUCTIONS.md for detailed setup.
At minimum, configure the following environment variables for local development or EAS builds:
EXPO_PUBLIC_FIREBASE_API_KEYEXPO_PUBLIC_FIREBASE_AUTH_DOMAINEXPO_PUBLIC_FIREBASE_PROJECT_IDEXPO_PUBLIC_FIREBASE_STORAGE_BUCKETEXPO_PUBLIC_FIREBASE_MESSAGING_SENDER_IDEXPO_PUBLIC_FIREBASE_APP_IDEXPO_PUBLIC_FIREBASE_MEASUREMENT_ID
npm run dev— Start Expo development servernpm run start— Start Expo development servernpm run android— Open app on Android device/emulatornpm run ios— Open app on iOS simulatornpm run web— Start web versionnpm run build:web— Export web buildnpm run lint— Run Expo lintnpm run clean— Clear Expo cache
BUILD_INSTRUCTIONS.md— Production build and environment setupdocs/labor-marketplace-firebase-integration.md— Firebase labor marketplace integration details
- The project is currently configured as an Expo app with slug
gramsetuand packagecom.gramsetu.app. - The admin panel is available under
admin-panel/and has its own local setup. - Keep Firebase secrets out of source control and use EAS secrets for production builds. "