Skip to content

A decentralised health-record system for patients 💉

Notifications You must be signed in to change notification settings

McTechie/swasthya

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Swathya!

Swathya is a clean, modern and intuitive Medical Dashboard built with Next.js and Thirdweb!

Target Users: Patients and Medical Health Providers

Technology Stack

Usage Frontend Authentication Storage
Framework Next.js (React) ERC 1155 Contracts (Thirdweb) ERC 721 Contracts (Thirdweb)
Language TypeScript TypeScript TypeScript
Styling Tailwind CSS
Linting ESLint
Hosting Replit
Web3 Provider Thirdweb
Chain Polygon

Key Features

  • Authentication using User's MetaMask Wallet
  • ERC 1155 Tokens utilised for NFT Gating (selective access to authorised users)
  • Patient and Admin roles for users in the system
  • Payments between Patient and Doctor via MetaMask wallets
  • Patient Records stored as metadata in IPFS using ERC 721 Contracts
  • Deployed on Repl.it

Integrations

  • ERC 1155 Contract (Thirdweb)
  • ERC 721 Contract (Thirdweb)
  • Open AI GPT-3 API
  • Dicebear API (for randomly generated avatars based on slug)

Best Practices Followed

  • Conventional Commit Messages
  • Comments to help support complex code logic
  • Linting & Formatting