Labeasy is a platform that connects blood collection centers and labs with users looking for affordable and accessible diagnostic tests. Designed especially for tier 2 and tier 3 labs, Labeasy provides an online presence, simplifies price comparisons, and offers unique services such as report storage on the Solana blockchain. It also provides valuable data for insurance companies to streamline premium calculations, creating a comprehensive ecosystem for labs, users, and insurers.
- Lab and Test Listings: Labs and collection centers can list themselves and add diagnostic tests with prices.
- User-Friendly Interface: Users can easily browse and compare labs, prices, and available tests to make informed decisions.
- Blockchain-Powered Report Security: Lab reports are securely stored on the Solana blockchain, ensuring integrity and preventing tampering.
- Health Dashboard: Each user has a health dashboard with a health index calculated from past reports, useful for users and insurers alike.
- Insurance Integration: The platform allows insurance companies to access a user's health index (with permission) to expedite premium calculations.
- Revenue Model:
- Sponsored ads for labs.
- Commission on lab sales above specified thresholds.
- Commissions from insurance sales via the platform.
- Future AI Integration: Planned development of an AI feature to generate report summaries, offering users insights and suggesting doctor visits if needed.
- Frontend: React with Recoil for state management
- Backend: Express.js
- Database: PostgreSQL with Prisma ORM
- Blockchain: Solana for secure report storage
- UI Library: Acternity UI for consistent and modern UI components
- frontend/: Contains the frontend code, built with React and Recoil for state management.
- backend/: Contains the backend code, built with Express.js and Prisma for database interactions.
- LabDetailsPopup Component: Displays lab listings while maintaining cart functionality.
- database/: PostgreSQL database managed with Prisma for seamless integration and data handling.
- Node.js (v14 or higher)
- PostgreSQL
- Prisma
-
Clone the repository:
git clone https://github.com/yourusername/labeasy.git cd labeasy -
Install dependencies:
-
Install backend dependencies:
cd backend npm install -
Install frontend dependencies:
cd ../frontend npm install
-
-
Setup Database:
- Create a PostgreSQL database.
- Update the
.envfile in the backend with your database credentials.
DATABASE_URL="postgresql://username:password@localhost:5432/labeasy"
- Run Prisma migrations:
cd backend npx prisma migrate dev
-
Blockchain Setup:
- Connect the backend to the Solana blockchain for report storage (API keys and configuration for Solana network required).
-
Run the Application:
- Start the backend server:
cd backend npm start - Start the frontend server:
cd frontend npm run dev
- Start the backend server:
-
Access the Application:
- Open a browser and go to
http://localhost:3000for the frontend.
- Open a browser and go to
- User Registration and Login: Users can sign up, browse labs, and view available tests and prices.
- Lab Listing and Test Management: Labs can list tests and manage their information from the lab dashboard.
- Order Tests and Checkout: Users can add tests to the cart and proceed to checkout with their selected options.
- View Health Dashboard: Users can monitor their health index, based on blockchain-stored reports, visible on the health dashboard.
- Insurance Integration: Insurance companies can access user data (with permission) to determine premiums based on health status.
- AI Model for Report Summaries: Develop an AI that generates summaries and suggests next steps.
- Doctor Referrals: Integrate local doctor referrals to provide users with medical advice based on reports.
- Enhanced Search and Filters: Advanced filters and search options for finding specific labs or test types.
- Mobile App: Expand accessibility by developing a mobile app for Android and iOS.
Contributions are welcome! Please create a pull request for any enhancements, bug fixes, or new features.
This project is licensed under the MIT License. See the LICENSE file for more details.