- Go to http://localhost:5173/
- Click "Sign In" button
- Click "Sign up instead"
- Use these credentials:
- Email:
hospital1@test.com - Password:
password123
- Email:
- Click "Sign up"
After signing up, you'll be redirected. Follow these steps:
- Click "Hospital Registration" in the navigation
- Fill out the form with these details:
Hospital Name: City General Hospital Hospital ID: CGH001 Location: New York, NY Phone: +1-555-1001 Contact Person: Dr. Emily Wilson Address: 123 Medical Center Drive, New York, NY 10001 - Click "Register Hospital"
- You'll be automatically verified β
- Click "Dashboard" in the navigation (should now be visible)
- You can now create SOS alerts!
-
In the Dashboard, click "Create New SOS Alert"
-
Test with different scenarios:
Critical Alert: - Blood Group: O+ - Urgency: Critical - Units Needed: 5 - Description: Emergency surgery patient Urgent Alert: - Blood Group: A+ - Urgency: Urgent - Units Needed: 3 - Description: Scheduled surgery tomorrow Normal Alert: - Blood Group: B- - Urgency: Normal - Units Needed: 2 - Description: Elective procedure
- View all your hospital's alerts
- Update alert status (Active β Fulfilled/Expired)
- Monitor donor responses
- Email:
hospital2@test.com - Password:
password123 - Details:
Hospital Name: Metro Health Center Hospital ID: MHC002 Location: Los Angeles, CA Contact Person: Dr. Robert Chen Phone: +1-555-2001 Address: 456 Healthcare Blvd, Los Angeles, CA 90210
-
As Hospital (hospital1@test.com):
- Sign up and register
- Create a critical O+ blood alert
- Leave the dashboard open
-
As Donor (donor1@test.com):
- Sign up in a new browser/incognito tab
- Register as donor with O+ blood group
- Navigate to "Live Alerts"
- Respond to the hospital's alert
-
Back as Hospital:
- Refresh dashboard
- See the donor response
- Update alert status to "Fulfilled"
- β Hospitals are auto-verified for testing (no waiting period)
- β Dashboard access is immediate after registration
- β All features are enabled for testing
- π Switch between accounts to test full workflow
- π± Responsive design - test on different screen sizes
Can't see Dashboard button?
- Make sure you completed hospital registration
- Try refreshing the page
- Check that you're signed in as the hospital account
No alerts showing?
- Create some alerts first from the dashboard
- Check if you're viewing the correct screen (Live Alerts vs Dashboard)
Want to test with sample data?
- Run the
seedSampleDatamutation in Convex dashboard - This adds testimonials and makes the app look more realistic