CTG Blood Connect is a web-based blood donor platform designed to help people in Chittagong (CTG) quickly find blood donors based on blood group and area.
The mission is simple: connect donors and seekers to save lives.
π https://ctg-blood-connect.web.app/
- Client: https://github.com/sahkil12/CTG-Blood-Connect-client
- Server: https://github.com/sahkil12/CTG-Blood-Connect-server
- Email & Google authentication using Firebase
- Default role:
user - Users can register as blood donors
- Automatic role update from
usertouser + isDonor
πΉ NEW
- Automated email system using Nodemailer
- Welcome email sent when a user registers
- Congratulations email sent when a user becomes a donor
- Create donor profile with some details and image
- Update donor information
- Delete donor profile (role reverts to user)
- Donor availability status tracking
- Search donors by blood group
- Filter donors by area (CTG upazilas)
- Homepage displays top 9 donors
- Full donors list page with advanced filtering
- Role-based protected admin routes
- Dashboard statistics:
- Total users
- Total donors
- Available donors
- View donor availability in real-time
- Total admins
- New users & donors (last 7 days)
- Manage users:
- Search any users by email
- Make or remove admin role
- View user details in modal
- JWT-based authentication
- Role-based authorization (User / isDonor / Admin)
- Admin-only dashboard access
- Forbidden (403) page for unauthorized routes
- Home
- Donors
- Be a Donor
- Profile
- About
- Admin Dashboard
- Manage Users
- Forbidden Page (403)
- Error 404 page
- React
- React Router DOM
- Tailwind CSS
- DaisyUI
- Axios
- TanStack Query
- Firebase Authentication && deploy
- React Hook Form
- Recharts
- SweetAlert2
- React Hot Toast
- dayjs
- lottie-react
- react-helmet
- Node.js
- Cors
- Express.js
- MongoDB
- JWT Authentication
- REST API
- Role-based access control
- nodemailer
- Firebase admin
- Client Hosting: Firebase
- Server Hosting: Vercel
- Database: MongoDB Atlas
This platform is designed to:
- Make blood donation faster & easier in Chittagong City
- Reduce emergency delays
- Encourage people to become donors
- Help the Chittagong community
Client
git clone https://github.com/sahkil12/CTG-Blood-Connect-client.gitcd CTG-Blood-Connect-clientnpm installServer
git clone https://github.com/sahkil12/CTG-Blood-Connect-server.gitcd CTG-Blood-Connect-servernpm install
Client
cd CTG-Blood-Connect-clientnpm run devServer
cd CTG-Blood-Connect-servernpm run startMustafa Tazwer Shakil
Web Developer
π§ Email: [email protected]
π Portfolio: https://mustafa-tazwer.vercel.app/
This project is licensed under the MIT License.
Crafted with care by Mustafa Tazwer Shakil to support blood donation in Chittagong.










