SmartCare is an innovative healthcare monitoring system that combines AI technology with smart wound dressings to provide real-time patient monitoring and analysis. The system helps healthcare providers track wound healing progress, detect potential infections, predict healing times, and receive AI-powered recommendations for patient care.
- Real-time Monitoring: Track wound dressing sensor data in real-time
- AI Analysis:
- Infection detection
- Healing time prediction
- Patient status analysis
- GenAI Integration: Provides intelligent recommendations and suggestions
- Patient Management: Add and manage patient records
- Secure Authentication: JWT-based secure authentication system
- Vue.js 3 with TypeScript
- Pinia for state management
- Tailwind CSS for styling
- Vue Router for navigation
- Chart.js for data visualization
- Vite as build tool
- Python with Flask framework
- JWT for authentication
- MongoDB for database
- Scikit-Learn for machine learning models
- Google's Gemini API for AI features
- Node.js (v16 or higher)
- Python 3.8 or higher
- MongoDB
- Google Cloud account (for Gemini API)
- Navigate to the server directory:
cd server- Create and activate a virtual environment:
python -m venv venv # On Mac: python3 -m venv venv
venv/bin/activate # On Mac: source venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt # On Mac: pip3 install -r requirements.txt- Create a
.envfile in the server directory with the following variables:
DB_NAME = "smartcare"
MONGO_URI = "mongodb+srv://<username>:<password>@<cluster>.mongodb.net"
SECRET_KEY = "<some_secret_value>"
GENAI_API_KEY = "<your_api_key>"
PORT = 5000
- Navigate to the client directory:
cd client- Install dependencies:
npm install- Create a
.envfile in the client directory with the following variables:
VITE_API_URL = "http://localhost:5000"
- Activate the virtual environment (if not already activated):
cd server
venv/bin/activate # On Mac: source venv\Scripts\activate- Start the Flask server:
python app.py # On Mac: python3 app.pyThe backend server will run on http://localhost:5000
- In a new terminal, navigate to the client directory:
cd client- Start the development server:
npm run devThe frontend application will be available at http://localhost:5173
- Build the frontend application:
cd client
npm run buildThe built files will be in the dist directory.
The backend is ready for production deployment. Make sure to:
- Set appropriate environment variables
- Use a production-grade WSGI server (e.g., Gunicorn)
- Configure proper security measures
- Build the frontend using
npm run build - Deploy the contents of the
distdirectory to your web server or cloud platform (e.g., Netlify, Vercel, or AWS S3) - Set up environment variables in your deployment platform
- Deploy the Flask application to a cloud platform (e.g., Render.com, Heroku, AWS, or Google Cloud)
- Set up environment variables in your deployment platform
- Configure MongoDB connection
- Set up proper CORS settings for production
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Mohamed Bakour