Unity Donors is a web-based blood donation management system designed to connect blood donors with recipients efficiently. The platform enables users to register, request blood, and find suitable donors based on their location and blood group. The system incorporates role-based access, allowing different types of users such as donors, seekers, admins, and hospitals, blood banks to interact seamlessly via e-mail and mobile sms.
- Project Requirements
- Technologies Used
- Installation
- Configuration
- Usage Overview
- Troubleshooting and Debugging
- Contributing
- Code of Conduct
- Additional Resources
- License
- Contact
- Documentation
- Operating System: Windows 7, 8, 8.1, 10, or Windows Server 2008 and later
- Development Environment: Microsoft Visual Studio 2010 or later
- Database: Microsoft SQL Server 2019 or later
- MVC Version: MVC5
- Framework: .NET Framework 4.7.2
- Web Server: IIS Express
- Browser: Web browsers with JavaScript enabled
- ASP.NET MVC Framework
- Entity Framework
- SQL Server Management Studio (SSMS)
- Stripe API for payment integration (optional)
- Frontend: HTML, CSS, JavaScript, Bootstrap
- Backend: C# (.NET Framework)
- Database: Microsoft SQL Server
- Version Control: Git & GitHub
- API Integrations: Stripe (for donations)
-
Clone the Repository:
git clone https://github.com/joha546/Unity-Donors.git cd Unity-Donors -
Set Up the Database:
- Open SQL Server Management Studio (SSMS).
- Create a new database on your SSMS.
- Go to Database Layer dependency on Unity-Donors Project, Update the connection string and make migration.
- Update connection strings in
web.configto match your local database setup.
-
Open the Project in Visual Studio:
- Open
UnityDonors.slnin Visual Studio. - Restore NuGet dependencies (
Tools > NuGet Package Manager > Restore Packages).
- Open
-
Build and Run the Project:
- Set the project startup file to
UnityDonors.Web. - Press
F5to run the application.
- Set the project startup file to
- Ensure that SQL Server is running.
- Check
web.configand update:<connectionStrings> <add name="DefaultConnection" connectionString="Server=YOUR_SERVER;Database=UnityDonorsDB;Trusted_Connection=True;" providerName="System.Data.SqlClient" /> </connectionStrings>
- If using Stripe for donations, add your API keys in
appsettings.json:{ "Stripe": { "PublishableKey": "your_publishable_key", "SecretKey": "your_secret_key" } }
- Register and log in to the system.
- Browse through blood donation requests.
- Contact recipients and schedule donations.
- Create a blood donation request.
- View matched donors and sent request to them.
- After responding by the requested donor or blood bank, contact with them.
- Manage user roles and permissions.
- Monitor donation activities and generate reports.
- Assist in blood donation campaigns.
- Post informative blogs about blood donation.
-
Database Connection Issues:
- Ensure SQL Server is running.
- Check connection strings in
web.config. - Run the following command to check if the SQL Server service is active:
Get-Service -Name "MSSQLSERVER"
-
IIS Express Not Running:
- Restart IIS Express in Visual Studio (
Ctrl + F5). - Run Visual Studio as Administrator.
- Restart IIS Express in Visual Studio (
-
Missing Dependencies:
- Run
Tools > NuGet Package Manager > Manage NuGet Packages for Solutionand install missing packages.
- Run
-
Port Conflict:
- Find active ports using:
netstat -ano | findstr :5000
- Kill the process using:
taskkill /PID <PID> /F
- Find active ports using:
We welcome contributions! Please read CONTRIBUTING.md for guidelines on how to contribute to Unity Donors.
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m "Add YourFeature" - Push the branch:
git push origin feature/YourFeature
- Open a pull request.
Please read our Code of Conduct to understand the standards we uphold.
- ASP.NET MVC Documentation: https://learn.microsoft.com/en-us/aspnet/mvc/overview/
- SQL Server Documentation: https://learn.microsoft.com/en-us/sql/sql-server/
- Stripe API Guide: https://stripe.com/docs/api
This project is licensed under the MIT License.
For questions or support, contact the project maintainer: