Skip to content

SR-iMrAN/RedLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🩸 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:
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)

---

## πŸ“

    β–ˆβ–ˆβ–ˆ        β–„β–ˆ    β–ˆβ–„       β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–„β–„β–„β–„      β–„β–ˆ   β–„β–ˆβ–„      β–„β–ˆβ–ˆ   β–„    β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„  β–ˆβ–ˆβ–ˆ    β–ˆβ–„  
β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„   β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ     β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆβ–€β–€β–€β–ˆβ–ˆβ–„   β–ˆβ–ˆβ–ˆ β–„β–ˆβ–ˆβ–ˆβ–€      β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ 
   β–€β–ˆβ–ˆβ–ˆβ–€β–€β–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ     β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–β–ˆβ–ˆβ–€        β–ˆβ–ˆβ–ˆβ–„β–„β–„β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ 
    β–ˆβ–ˆβ–ˆ   β–€  β–„β–ˆβ–ˆβ–ˆβ–„β–„β–„β–„β–ˆβ–ˆβ–ˆβ–„β–„   β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ  β–„β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€         β–€β–€β–€β–€β–€β–€β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ 
    β–ˆβ–ˆβ–ˆ     β–€β–€β–ˆβ–ˆβ–ˆβ–€β–€β–€β–€β–ˆβ–ˆβ–ˆβ–€  β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ β–€β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–„         β–„β–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ 
    β–ˆβ–ˆβ–ˆ       β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ     β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆβ–β–ˆβ–ˆβ–„        β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ 
    β–ˆβ–ˆβ–ˆ       β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ     β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ β–€β–ˆβ–ˆβ–ˆβ–„      β–ˆβ–ˆβ–ˆ   β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ    β–ˆβ–ˆβ–ˆ 
   β–„β–ˆβ–ˆβ–ˆβ–ˆβ–€     β–ˆβ–ˆβ–ˆ    β–ˆβ–€      β–ˆβ–ˆβ–ˆ    β–ˆβ–€   β–€β–ˆ   β–ˆβ–€    β–ˆβ–ˆβ–ˆ   β–€β–ˆβ–€       β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€   β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–€  
                                                    β–€                                              

Releases

No releases published

Packages

 
 
 

Contributors

Languages