A React frontend application for AI-powered healthcare guidance and symptom analysis.
- Landing Page: Clean introduction with demo access and Google authentication
- Demo Page: Static example showing AI analysis capabilities
- Dashboard: Interactive symptom input with AI-generated advice
- History: Review past consultations and recommendations
- Dark Mode: Toggle between light and dark themes
- Responsive Design: Works on desktop and mobile devices
- Frontend: React (Create React App), JavaScript
- Styling: TailwindCSS + Material UI
- Authentication: Firebase Google Auth
- Animations: Framer Motion
- Routing: React Router DOM
-
Clone the repository
git clone <repository-url> cd cliniscribe
-
Install dependencies
npm install
-
Firebase Setup
- Create a Firebase project at https://console.firebase.google.com
- Enable Google Authentication
- Copy the configuration and create a
.envfile:
cp .env.example .env
Fill in your Firebase credentials:
REACT_APP_FIREBASE_API_KEY=your_api_key_here REACT_APP_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com REACT_APP_FIREBASE_PROJECT_ID=your_project_id REACT_APP_FIREBASE_STORAGE_BUCKET=your_project.appspot.com REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_sender_id REACT_APP_FIREBASE_APP_ID=your_app_id
-
Start the development server
npm start
-
Build for production
npm run build
cliniscribe/
├── public/
│ ├── index.html
│ └── manifest.json
├── src/
│ ├── components/
│ │ ├── Navbar.jsx
│ │ ├── SymptomInput.jsx
│ │ ├── TranscriptView.jsx
│ │ ├── AdviceCard.jsx
│ │ └── VideoPlayer.jsx
│ ├── contexts/
│ │ ├── AuthContext.js
│ │ └── ThemeContext.js
│ ├── pages/
│ │ ├── LandingPage.jsx
│ │ ├── DemoPage.jsx
│ │ ├── Dashboard.jsx
│ │ └── HistoryPage.jsx
│ ├── utils/
│ │ └── firebase.js
│ ├── App.js
│ ├── index.js
│ └── index.css
├── package.json
├── tailwind.config.js
└── README.md
- Navbar: Navigation with dark mode toggle and auth state
- SymptomInput: Text input with microphone button (future feature)
- TranscriptView: Display user input symptoms
- AdviceCard: Reusable card for different advice types
- VideoPlayer: Placeholder for AI-generated videos
- Landing: Hero section with feature highlights
- Demo: Static example of AI analysis
- Dashboard: Main application interface
- History: Past consultation review
Custom color palette for healthcare theme:
- Primary blues:
primary-50toprimary-900 - Healthcare colors:
healthcare-green,healthcare-blue,healthcare-teal
Integrated with Tailwind for consistent theming and dark mode support.
✅ Completed Features:
- React app setup with routing
- Firebase authentication integration
- All core components built
- Landing, Demo, Dashboard, and History pages
- Dark mode functionality
- Responsive design
- Mock AI responses for demo
🔄 Future Enhancements:
- Real AI integration for symptom analysis
- Voice input recording
- Google Maps integration for healthcare providers
- Video generation with Gemini Veo 3
- Backend API integration
- User profile management
Required environment variables for Firebase:
REACT_APP_FIREBASE_API_KEYREACT_APP_FIREBASE_AUTH_DOMAINREACT_APP_FIREBASE_PROJECT_IDREACT_APP_FIREBASE_STORAGE_BUCKETREACT_APP_FIREBASE_MESSAGING_SENDER_IDREACT_APP_FIREBASE_APP_ID
The application is fully responsive with:
- Mobile-first approach
- Flexible grid layouts
- Touch-friendly interface
- Optimized typography scaling
- Set up Firebase project and authentication
- Integrate real AI API for symptom analysis
- Add Google Maps for healthcare provider locations
- Implement video generation capabilities
- Add user profile and preferences
- Deploy to production
This project is for demonstration purposes.