Welcome to HEMP Connect Hub - a platform for connecting entrepreneurs with mentors, fellows, and counselors in the HEMP community.
- User registration and login with email/password
- Role-based access control (mentee, mentor, fellow, counselor, admin)
- Admin override via environment variables for testing
- Multi-step mentee application form with autosave functionality
- Multi-step mentor application form with autosave functionality
- Autofill buttons for quick testing and demonstration
- Browse and filter participants by role (mentees, mentors, fellows, counselors)
- Search by name, company, title, industries, and expertise
- Sort by name, company, class year, or recent activity
- Detailed profile pages for each participant
- Role-based access to administrative functions
- View and manage mentees, mentors, fellows, and counselors
- Data sourced from Supabase database
- Mobile-friendly interface
- Consistent layout across all pages
- Node.js (version 16 or higher)
- npm or yarn
- Supabase account for database and authentication
-
Clone the repository:
git clone <repository-url> cd hemp-connect-hub
-
Install dependencies:
npm install
-
Create a
.env.local
file in the root directory with the following variables:VITE_SUPABASE_URL=your_supabase_project_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key VITE_ADMIN_EMAILS=admin1@example.com,admin2@example.com
-
Start the development server:
npm run dev
VITE_SUPABASE_URL
: Your Supabase project URLVITE_SUPABASE_ANON_KEY
: Your Supabase anonymous keyVITE_ADMIN_EMAILS
: Comma-separated list of admin email addresses for testing purposes
The application uses the following tables in Supabase:
users
: Stores user information (id, email, role, name)mentees
: Mentee application datamentors
: Mentor application datafellows
: Fellow informationcounselors
: Counselor information
npm run dev
: Starts the development servernpm run build
: Builds the application for productionnpm run preview
: Previews the built applicationnpm run lint
: Runs ESLint to check for code issues
- React with TypeScript
- Vite for build tooling
- Supabase for backend services
- shadcn/ui components
- Tailwind CSS for styling
- React Hook Form for form handling
- Zod for validation
The application can be deployed to any platform that supports static site hosting. We recommend using Vercel for seamless deployment integration with the frontend.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.