Polara is a comprehensive government benefits optimization platform designed for retired, disabled, and veteran users. It uses an intuitive solar system metaphor to visualize and manage benefit eligibility across healthcare, housing, food, transportation, and financial assistance programs.
- ๐ Solar System Dashboard: Interactive visualization with planets representing different benefit categories
- ๐ฃ๏ธ Voice Commands: AI-powered voice assistant using Eleven Labs and Gemini API
- ๐ Multilingual Support: Available in 7 languages (English, Spanish, French, Chinese, Hindi, Tagalog, Vietnamese)
- โฟ Accessibility: Font size adjustment, color blindness filters, dyslexia-friendly fonts, high contrast mode
- ๐ฐ Benefit Calculators: Real-time calculations for SSI, SNAP, Section 8, EITC, and more
- ๐ Smart Alerts: Notifications for benefit changes, rule updates, and income adjustments
- React + Vite
- TailwindCSS for styling
- Framer Motion for animations
- Redux Toolkit for state management
- react-i18next for internationalization
- Axios for API calls
- Node.js + Express
- MongoDB + Mongoose ODM
- JWT authentication
- AES-256 encryption for sensitive data
- Eleven Labs API for speech-to-text/text-to-speech
- Google Gemini API for intent classification
- Node.js 18+
- MongoDB (local or MongoDB Atlas)
- Eleven Labs API key
- Google Gemini API key
- Navigate to backend directory:
cd backend- Install dependencies:
npm install- Create a
.envfile (use.env.exampleas template):
cp .env.example .env- Configure your environment variables in
.env:
PORT=5000
MONGODB_URI=mongodb://localhost:27017/polara
JWT_SECRET=your_jwt_secret_key_here
ENCRYPTION_KEY=your_32_character_encryption_key
ELEVEN_LABS_API_KEY=your_eleven_labs_api_key
GEMINI_API_KEY=your_gemini_api_key
NODE_ENV=development
- Start the backend server:
npm run devThe backend will run on http://localhost:5000
- Navigate to frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm run devThe frontend will run on http://localhost:3000
- Sign up at elevenlabs.io
- Get your API key from the dashboard
- Add to backend
.envfile
- Visit Google AI Studio
- Create a new API key
- Add to backend
.envfile
- Local: Install MongoDB locally and use
mongodb://localhost:27017/polara - Cloud: Create a free cluster at MongoDB Atlas and use the connection string
HackTX/
โโโ backend/
โ โโโ config/ # Database configuration
โ โโโ models/ # Mongoose schemas
โ โโโ routes/ # API routes
โ โโโ middleware/ # Authentication middleware
โ โโโ utils/ # Utility functions
โ โโโ server.js # Express server
โโโ frontend/
โ โโโ src/
โ โ โโโ components/ # Reusable components
โ โ โโโ pages/ # Page components
โ โ โโโ store/ # Redux store and slices
โ โ โโโ i18n/ # Translation files
โ โ โโโ services/ # API services
โ โ โโโ App.jsx # Main app component
โ โ โโโ main.jsx # Entry point
โ โโโ public/ # Static assets
โ โโโ index.html # HTML template
โโโ README.md
- Medicaid
- Medicare
- ACA Subsidies
- TRICARE
- VA Health Care
- Ryan White HIV/AIDS Program
- State Pharmaceutical Assistance Programs
- Section 8 Housing Choice Vouchers
- Public Housing
- HUD-VASH (Veterans)
- LIHEAP (Energy Assistance)
- Emergency Rental Assistance
- Weatherization Assistance
- Property Tax Relief
- SNAP (Food Stamps)
- WIC
- Summer/Pandemic EBT
- Senior Food Programs
- Emergency Food Assistance
- Non-Emergency Medical Transportation (NEMT)
- Paratransit Services
- Veterans Transportation
- Transit Fare Subsidies
- Vehicle Modification Grants
- Supplemental Security Income (SSI)
- Social Security Disability Insurance (SSDI)
- TANF
- Earned Income Tax Credit (EITC)
- Child Tax Credit (CTC)
- State Tax Credits
Try these voice commands:
- "Show me healthcare benefits"
- "Navigate to housing"
- "Check my food benefits"
- "Go to transportation"
- "Open my profile"
- "Calculate my benefits"
- Small, Medium, Large options
- Applies globally across the application
- Protanopia (Red-blind)
- Deuteranopia (Green-blind)
- Tritanopia (Blue-blind)
- OpenDyslexic font option
- High contrast mode
- Full keyboard navigation
- ARIA labels on all interactive elements
- Voice narration support
- ๐บ๐ธ English
- ๐ช๐ธ Spanish (Espaรฑol)
- ๐ซ๐ท French (Franรงais)
- ๐จ๐ณ Chinese (ไธญๆ)
- ๐ฎ๐ณ Hindi (เคนเคฟเคจเฅเคฆเฅ)
- ๐ต๐ญ Tagalog
- ๐ป๐ณ Vietnamese (Tiแบฟng Viแปt)
# Backend
cd backend
npm test
# Frontend
cd frontend
npm test# Frontend
cd frontend
npm run build
# The build folder will contain optimized production filesThis project was created for HackTX. Contributions are welcome!
MIT License
For support or questions, please contact the development team.
Polara - Your Financial North Star. Always in Orbit. โญ