https://github.com/sr-imran/redlife
๐ฉธ A role-based blood donation platform built with React, featuring donation requests, blogs, Stripe payments, and a responsive UI
https://github.com/sr-imran/redlife
bangladesh-geocode blood-donation dashboard firebase framer-motion jodit-stripe jwt-auth react react-hook-form responsive-design role-based-access tailwindcss tanstack-query technologies-used vite
Last synced: about 1 month ago
JSON representation
๐ฉธ A role-based blood donation platform built with React, featuring donation requests, blogs, Stripe payments, and a responsive UI
- Host: GitHub
- URL: https://github.com/sr-imran/redlife
- Owner: SR-iMrAN
- Created: 2025-08-08T11:55:19.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-08-08T12:47:08.000Z (2 months ago)
- Last Synced: 2025-09-02T03:48:47.050Z (about 1 month ago)
- Topics: bangladesh-geocode, blood-donation, dashboard, firebase, framer-motion, jodit-stripe, jwt-auth, react, react-hook-form, responsive-design, role-based-access, tailwindcss, tanstack-query, technologies-used, vite
- Language: JavaScript
- Homepage: https://redlife1.web.app
- Size: 283 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฉธ RedLife โ Blood Donation Platform (Frontend)
RedLife is a full-featured blood donation platform developed with React.js. It empowers users to register as blood donors, browse active donation requests, contribute to blog content, and even fund life-saving initiatives โ all in a beautifully responsive design.
๐ด Live Site: https://redlife1.web.app/
---
## ๐ Key Features
- ๐ฅ Role-based access (Donor, Volunteer, Admin)
- ๐ Blog management with rich-text editor (Jodit)
- ๐ Dashboard-specific views for each user type
- ๐ Donor request creation and tracking
- ๐ Donor search with filters (blood group, district, upazila)
- ๐ฌ SweetAlert2 & toast for user feedback
- ๐งพ Funding page with Stripe integration
- ๐ Protected routes with JWT (persistent on reload)
- ๐ BD Geocode-based district and upazila selector
- ๐ฑ Fully responsive across mobile, tablet, and desktop---
## ๐งฐ Technologies Used
- React with Vite
- Tailwind CSS for styling
- TanStack Query for efficient data fetching
- React Hook Form for forms
- Framer Motion for animations
- Jodit React for blog editing
- Stripe API for payment integration
- JWT for authentication and authorization---
---
## ๐ฆ Dependencies
- react
- react-dom
- vite
- tailwindcss
- @tanstack/react-query
- react-hook-form
- framer-motion
- jodit-react
- stripe
- sweetalert2
- jwt-decode
- axios
- react-router-dom---
## ๐ ๏ธ How to Run Locally
Follow these steps to get RedLife running on your local machine:
1. **Clone the repository:**
```bash
git clone https://github.com/SR-iMrAN/RedLife.git
Navigate to the project directory:**cd redlife-frontend**
Install dependencies:npm install
Start the development server:npm run dev
Open your browser and visit:http://localhost:3000 (Might be different in your case)
---
## ๐
โโโ โโ โโ โโโโโโโโโ โโโโโโโ โโ โโโ โโโ โ โโโโโโโโ โโโ โโ
โโโโโโโโโโโ โโโ โโโ โโโ โโโ โโโโโโโโโ โโโ โโโโโ โโโ โโโ โโโ โโโ โโโ โโโ
โโโโโโโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโโโโโ โโโโโโโโโ โโโ โโโ โโโ โโโ
โโโ โ โโโโโโโโโโโโโ โโโ โโโ โโโ โโโ โโโโโโโ โโโโโโโโโ โโโ โโโ โโโ โโโ
โโโ โโโโโโโโโโโโโ โโโโโโโโโโโโ โโโ โโโ โโโโโโโโ โโโ โโโ โโโ โโโ โโโ โโโ
โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโโโโโ โโโ โโโ โโโ โโโ โโโ โโโ
โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโ โโโโโ โโโ โโโ โโโ โโโ โโโ โโโ
โโโโโโ โโโ โโ โโโ โโ โโ โโ โโโ โโโ โโโโโโโ โโโโโโโโ โโโโโโโโโ
โ