JanMitra is an AI-powered platform that helps citizens discover relevant Indian government schemes, understand eligibility criteria, and access scheme-related information through a conversational assistant.
- Live Website: JanMitra – Visit Website
- Project Demo Video: Watch JanMitra Demo
- AI-Powered Assistant: Ask questions about government schemes in natural language.
- Scheme Discovery: Explore government schemes in one place.
- Eligibility Checking: Check potential eligibility based on user profile information.
- Personalized Recommendations: Discover schemes relevant to your profile.
- Scheme Details: View benefits, eligibility criteria, required documents, and official links.
- Save Schemes: Keep track of schemes you are interested in.
- Scheme Comparison: Compare different schemes.
- Application Checklist: Organize documents and application-related tasks.
- User Dashboard: Access scheme-related information in one place.
Frontend
- Next.js 16
- React 19
- TypeScript
- Tailwind CSS v4
Backend
- Python
- FastAPI
- SQLAlchemy
Database
- SQLite
AI
- Google Gemini API
janmitra/
├── backend/
│ ├── app/
│ │ ├── ai/
│ │ ├── routes/
│ │ ├── services/
│ │ ├── main.py
│ │ ├── config.py
│ │ └── database.py
│ └── tests/
│
├── frontend/
│ └── src/
│ ├── app/
│ └── components/
│
├── data/
│ ├── schemes/
│ └── seed/
│
└── README.md
git clone https://github.com/Saylee12R/JanMitra.git
cd JanMitracd backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtCreate a .env file inside the backend directory:
GEMINI_API_KEY=your_gemini_api_key
DATABASE_URL=sqlite:///./janmitra.dbStart the backend:
uvicorn app.main:app --reloadBackend runs at http://127.0.0.1:8000.
API documentation: http://127.0.0.1:8000/docs
Open a new terminal:
cd frontend
npm installCreate a .env.local file inside the frontend directory:
NEXT_PUBLIC_API_URL=http://127.0.0.1:8000Start the frontend:
npm run devOpen http://localhost:3000 in your browser.
cd backend
source venv/bin/activate
pytest- Frontend: Deployed on Vercel.
- Backend: Deployed on Render.
The deployed frontend communicates with the backend through the configured API URL.
JanMitra aims to bridge the information gap between citizens and government welfare schemes by making scheme discovery, eligibility understanding, and application preparation more accessible.
Making government schemes easier to discover, understand, and access.
Built with ❤️ for accessible public welfare information.