A comprehensive volunteer management and healthcare support platform built with React, TypeScript, Vite, and Supabase.
- Volunteer Registration & Management
- Care Facility & NGO Registration
- Business Partner Integration
- Urgent Needs Tracking
- Event Management
- User Dashboard & Profile
- Authentication & Authorization
- Real-time Updates with Supabase
- Frontend: React 18, TypeScript, Vite
- Styling: Tailwind CSS
- Database: Supabase (PostgreSQL)
- Authentication: Supabase Auth
- Icons: Lucide React
- Deployment: Azure Web App
- Node.js 18 or higher
- npm or yarn
- Supabase account
-
Clone the repository:
git clone https://github.com/YOUR_USERNAME/hearthy-foundation.git cd hearthy-foundation -
Install dependencies:
npm install
-
Create a
.envfile in the root directory:VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
-
Run the development server:
npm run dev
-
Open http://localhost:5173 in your browser
npm run buildThe built files will be in the dist/ directory.
This project is configured for automatic deployment to Azure Web App via GitHub Actions.
See GITHUB_AZURE_DEPLOYMENT.md for detailed deployment instructions.
- Create an Azure Web App
- Download the publish profile
- Add GitHub secrets
- Push to main branch
The GitHub Actions workflow will automatically build and deploy your app.
hearthy-foundation/
├── src/
│ ├── components/ # React components
│ ├── contexts/ # React contexts (Auth)
│ ├── lib/ # Utilities and configs
│ ├── types/ # TypeScript types
│ ├── App.tsx # Main app component
│ └── main.tsx # Entry point
├── supabase/
│ └── migrations/ # Database migrations
├── public/ # Static assets
├── .github/
│ └── workflows/ # GitHub Actions workflows
└── dist/ # Production build (generated)
The project uses Supabase for database and authentication. Database schema includes:
- User Profiles
- Volunteers
- Care Facilities
- Foundations/NGOs
- Business Partners
- Events
- Urgent Needs
- Favorites
- Organization Statistics
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is part of the Hearty Foundation initiative.
For support, please contact the Hearty Foundation team or open an issue in this repository.