The frontend application for the Blood Management System (BMS) offers an intuitive, modern, and highly responsive user interface. It bridges the gap between voluntary blood donors and those in urgent need of blood. Built with cutting-edge tools, this project ensures a rich user experience across all devices.
- 🏢 Verified Blood Banks: Locate nearby blood banks with real-time data sourced directly from official government websites.
- 🔍 Intelligent Donor Search: Find available donors in your vicinity using precise filters for blood group and location.
- 📝 Donor Registration: A seamless and user-friendly onboarding process to become a voluntary lifesaver.
- 🩸 Apply for Blood: A streamlined module to quickly request and apply for blood during emergencies.
- 🔐 OTP Verification: Secure authentication and identity verification flows powered by real-time OTP validation.
- ✉️ Email Verification: Additional layers of security to authenticate users and ensure clean data.
- 📰 Information Hub: Access useful blogs, articles, and educational content about the importance of blood donation.
- 📱 Responsive Design: Fully optimized layouts ensuring perfect usability on mobile phones, tablets, and desktop computers.
src/
├── api/ # API integration and service functions
├── assets/ # Static assets like images and global stylesheets
├── components/ # Reusable UI components (Navbar, Footer, Cards, etc.)
├── pages/ # Application route pages (Home, Search, Register, etc.)
├── App.jsx # Main application routing and layout
└── main.jsx # Application entry point
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
Make sure you have Node.js and npm installed on your system.
- Node.js (v18 or higher recommended)
- npm (Node Package Manager)
-
Clone the repository and navigate to the frontend directory:
cd RTBMS_Frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
The application will quickly compile and run locally at
http://localhost:5173.
When you are ready to deploy to production, run the build command to generate a highly optimized static bundle:
npm run buildThe optimized files will be ready in the dist folder, which can be deployed to any static hosting provider.
- Frontend Framework: React (v19.2.0)
- Build Tool: Vite (v7.3.1)
- Styling: Tailwind CSS (v4.2.1)
- Routing: React Router DOM (v7.13.1)
- Icons: React Icons (v5.5.0)
- Linting: ESLint (v9.39.1)