Skip to content

kuttivicky/SafeLink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

markdown

SafeLink - AI-Powered Patient Safety Checklist

SafeLink is a React Native application designed to assist medical professionals in generating and managing patient safety checklists. Powered by advanced AI (Gemini API), SafeLink ensures that patient safety protocols are followed with precision and empathy.


Demo

Watch on youtube - https://youtu.be/QS6O6-11tpY?si=W7QvUgphruG4EW61

Features

  • AI-Generated Checklists: Generate professional, step-by-step patient safety checklists using the Gemini API.
  • Save and Manage Checklists: Save multiple checklists and access them anytime in the "My Checklist" section.
  • Detailed Checklist View: View full details of any checklist by clicking on it.
  • User-Friendly Interface: Intuitive and responsive UI for seamless navigation.
  • Cross-Platform: Works on both iOS and Android devices.

Screenshots

Home Screen

My Checklist Screen

Checklist Detail Screen


Installation

Prerequisites

  • Node.js (v14 or higher)
  • React Native CLI or Expo CLI
  • Android Studio or Xcode (for running on emulators)

Steps

  1. Clone the repository:

    git clone https://github.com/your-username/safelink.git
    cd safelink
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Create a .env file in the root directory.
    • Add the following variables:
      BACKEND_URL=http://your-backend-url
      GEMINI_API_KEY=your-gemini-api-key
      
  4. Start the Metro bundler:

    npm start
  5. Run the app:

    • For iOS:
      npx react-native run-ios
    • For Android:
      npx react-native run-android

Backend Setup

The backend is responsible for handling API requests to the Gemini API and managing saved checklists.

Prerequisites

  • Node.js
  • Firebase Admin SDK (for saving checklists)

Steps

  1. Navigate to the backend directory:

    cd safelink-backend
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    • Create a .env file in the backend directory.
    • Add the following variables:
      GEMINI_API_KEY=your-gemini-api-key
      FIREBASE_CONFIG=your-firebase-config
      
  4. Start the backend server:

    node index.js

Project Structure

safelink/
├── safelink-mobile/          # Frontend (React Native)
│   ├── screens/              # All screen components
│   ├── context/              # Context for shared state
│   ├── App.js                # Main entry point for the app
│   └── other files...
├── safelink-backend/         # Backend (Node.js)
│   ├── index.js              # Main backend server file
│   ├── firebase-adminsdk.json # Firebase configuration
│   └── other files...
└── README.md                 # Project documentation

Usage

  1. Open the app and navigate to the "AI" tab.
  2. Enter patient information and click "Generate Checklist" to create a safety checklist.
  3. Save the checklist to the "My Checklist" section.
  4. View saved checklists in the "My Checklist" tab and click on any checklist to view full details.

Technologies Used

Frontend

  • React Native
  • React Navigation
  • Context API

Backend

  • Node.js
  • Express.js
  • Firebase Admin SDK
  • Gemini API

Contributing

Contributions are welcome! Follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature-name
  3. Commit your changes:
    git commit -m "Add feature-name"
  4. Push to the branch:
    git push origin feature-name
  5. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Contact

For any inquiries or feedback, feel free to reach out:


Acknowledgments

.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors