AI-powered medical terminology clarification platform that bridges the gap between complex medical language and everyday understanding.
- Smart Explanations: Real-time medical term clarification using Gemini AI
- Dual Understanding: Both simplified and technical definitions
- Secure Access: Protected user data with Auth0
- History Tracking: Save and reference past explanations
- Medical Safety: Built-in verification and disclaimer system
- Clone and Install
git clone https://github.com/kay-rey/clarifymed.git
cd clarifymed
npm install- Set up Environment
cp .env.example .env.localAdd your credentials to .env.local:
AUTH0_DOMAIN- Auth0 application domainAUTH0_CLIENT_ID- Auth0 client IDAUTH0_CLIENT_SECRET- Auth0 client secretMONGODB_URI- MongoDB connection stringGEMINI_API_KEY- Google Gemini AI API key
- Start Development
git checkout dev
npm run devVisit http://localhost:3000
- Frontend: Next.js 15 (App Router), TypeScript, Tailwind CSS, shadcn
- Backend: MongoDB, Next.js API Routes
- AI: Google Gemini AI
- Auth: Auth0
- Testing: Jest, React Testing Library
- API: Axios
src/
├── app/ # Pages and API routes
│ ├── api/ # Backend endpoints
│ └── (routes)/ # Frontend pages
├── components/ # React components
├── lib/
│ ├── db/ # Database utilities
│ ├── models/ # TypeScript types
│ └── services/ # External services
└── styles/ # Global styles
- Start from dev
git checkout dev
git pull origin dev- Create feature branch
git checkout -b feature/your-feature- Commit changes
git add .
git commit -m "Add: your feature description"
git push origin feature/your-feature- Create PR to
devbranch
npm run dev- Development servernpm run build- Production buildnpm start- Production servernpm run lint- Code linting
# Run all tests
npm run test
# Run tests in watch mode
npm run test:watch
# Run coverage report
npm run test:coverage- Never commit
.env.local - Use test credentials for development
- Follow Auth0 security guidelines
- Implement proper error handling
- Validate all user inputs
Built with 💚 for AI Hackfest 2025 | License