Full-stack healthcare app — React + Vite + Supabase
143
A full-stack healthcare web application built with React + Vite, backed by Supabase.
Copy .env.example to .env and fill in your Supabase credentials:
cp .env.example .env
VITE_SUPABASE_URL=https://your-project.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-key
npm install
npm run dev
# App runs at http://localhost:5173
See DOCKER_SETUP.md for Docker and Docker Compose instructions.
| Table | Purpose |
|---|---|
profiles | User accounts with role field |
doctors | Doctor directory |
patients | Patient records |
profiles tablerole to 'admin'| Command | Description |
|---|---|
npm run dev | Start development server |
npm run build | Build for production |
npm run lint | Run ESLint |
node test-backend.js | Verify Supabase connection & tables |
The project includes an amplify.yml for AWS Amplify deployment. For other platforms, run npm run build and deploy the dist/ folder to any static host (Vercel, Netlify, Firebase Hosting, etc.).
Content type
Image
Digest
sha256:52eb4ee4c…
Size
95 MB
Last updated
6 months ago
docker pull samar23dev/healthcare-react