An open API service indexing awesome lists of open source software.

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

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)

---

## ๐Ÿ“

โ–ˆโ–ˆโ–ˆ โ–„โ–ˆ โ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–„ โ–„โ–ˆ โ–„โ–ˆโ–„ โ–„โ–ˆโ–ˆ โ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–„
โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ
โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ
โ–ˆโ–ˆโ–ˆ โ–€ โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ
โ–ˆโ–ˆโ–ˆ โ–€โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–€โ–ˆโ–ˆโ–ˆโ–€ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ
โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–โ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ
โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–€โ–ˆโ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ
โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–€โ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–€โ–ˆโ–€ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€
โ–€