AuraCare revolutionizes ICU care by combining cutting-edge AI with compassionate interventions — improving patient well-being, supporting medical staff, and engaging families.
- Modern UI/UX: Beautiful, responsive design with Tailwind CSS
- User Authentication: Separate login flows for Patients, Nurses, and Family members
- Role-based Dashboards: Customized interfaces for each user type
- Real-time Monitoring: Patient vital signs and emotional state tracking
- Responsive Design: Works seamlessly on desktop, tablet, and mobile
- RESTful API: Complete authentication and user management
- JWT Authentication: Secure token-based authentication
- MongoDB Integration: Scalable database with Mongoose ODM
- Password Security: Bcrypt hashing for secure password storage
- TypeScript: Full type safety and better development experience
AuraCare/
├── frontend/ # React frontend application
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── contexts/ # React contexts (Auth)
│ │ ├── App.tsx # Main app component
│ │ └── main.tsx # App entry point
│ ├── package.json
│ └── README.md
├── backend/ # Node.js backend API
│ ├── src/
│ │ ├── models/ # Database models
│ │ ├── routes/ # API routes
│ │ ├── middleware/ # Express middleware
│ │ └── server.ts # Server entry point
│ ├── package.json
│ └── README.md
└── README.md # This file
- Node.js (v16 or higher)
- npm or yarn
- MongoDB (local or cloud instance)
- Navigate to the backend directory:
cd auracare-backend- Install dependencies:
npm install- Create a
.envfile in the backend directory:
PORT=5000
MONGODB_URI=mongodb://localhost:27017/auracare
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
NODE_ENV=development
CLIENT_URL=http://localhost:5173
AI_SERVICE_URL=http://localhost:8000- Start the development server:
npm run devThe backend API will be available at http://localhost:5000
- Navigate to the frontend directory:
cd frontend- Install dependencies:
npm install- Start the development server:
npm run devThe frontend will be available at http://localhost:5173
- Start MongoDB (if running locally):
mongod- Start the backend (in one terminal):
cd auracare-backend
npm run dev- Start the frontend (in another terminal):
cd frontend
npm run dev- Open your browser and navigate to
http://localhost:5173
- Login Fields: Nurse ID, Room Number, Password, Patient ID
- Features: Monitor multiple patients, receive alerts, manage interventions
- Login Fields: Patient Name, Patient ID, Password, Family Member Name
- Features: View patient status, receive updates, communicate with care team
POST /api/auth/register- Register new userPOST /api/auth/login- Login userGET /api/auth/me- Get current user (protected)
GET /api/health- API status check
- Socket.IO Integration: Real-time updates for vital signs, alerts, and family content sharing
- WebSocket Authentication: Secure token-based authentication for real-time connections
- Room-based Broadcasting: Targeted messaging based on user roles and patient assignments
- Direct API Connection: Frontend connects directly to backend API at
http://localhost:5000/api - JWT Token Management: Automatic token handling with axios interceptors
- CORS Configuration: Properly configured for cross-origin requests
- Error Handling: Comprehensive error handling with automatic logout on authentication failures
- Vital Signs Monitoring: Real-time patient vital signs updates
- Critical Alerts: Instant notifications for critical patient conditions
- Family Content Sharing: Real-time sharing of photos, videos, and messages
- Emotion Analysis: AI-powered emotion detection and updates
- Staff Notifications: Real-time alerts for medical staff
- Landing page with feature overview
- Call-to-action buttons
- Responsive navigation
- Role-based form fields
- Password visibility toggle
- Form validation
- PatientInterface: Personal health monitoring
- NurseDashboard: Multi-patient management
- FamilyDashboard: Patient status viewing
- JWT token authentication
- Password hashing with bcrypt
- CORS protection
- Input validation
- Protected routes
cd frontend
npm run buildcd backend
npm run build
npm start- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the ISC License.
- React and TypeScript communities
- Tailwind CSS for styling
- MongoDB for database
- Express.js for backend framework






