Engineering ProjectsBsc-ITDiplomaIT ProjectsMsc-IT Projects

Medical Aid with Online Unused Medicine Donations to NGOs

Introduction

Healthcare costs are on the rise, and access to essential medicines remains a challenge for many. With the advent of internet technology, a new avenue has opened for individuals to contribute to society. Our platform, designed for donating unused medicines, connects donors with NGOs in Bangalore to ensure that essential medications reach the people who need them the most.

How It Works

  • User Registration: Register yourself on our user-friendly platform by providing basic details.
  • Medicine Listing: After successful registration, you can list the medicines you wish to donate.
  • NGO Verification: Partner NGOs are verified for authenticity, ensuring that your donation reaches the right hands.
  • Quality Check: The system flags improper or expired medicines, disallowing such entries.

Advantages

  • Sustainable Healthcare: By donating unused medicines, you’re not only helping someone in need but also promoting sustainability by reducing waste.
  • Detailed Records: The platform maintains a meticulous record of donated and available medicines, ensuring complete transparency.
  • Accessible Aid: Many needy people can benefit from the donations, especially those who find it hard to afford medication.

Disadvantages

  • Internet Dependent: An active internet connection is required to use the service.
  • Data Accuracy: Accurate data entry is crucial for the system to operate effectively. Mistakes in the listing can lead to complications.

Conclusion

Online unused medicine donation platforms are a revolutionary step in making healthcare accessible to all. By facilitating easy and secure medicine donations to verified NGOs in Bangalore, we can all participate in alleviating medical inequity.

Sample Code

from flask import Flask, render_template, request, redirect, url_for

app = Flask(__name__)

# Dummy database
users = []
medicines = []

@app.route('/')
def home():
    return render_template('index.html')

@app.route('/register', methods=['GET', 'POST'])
def register():
    if request.method == 'POST':
        username = request.form['username']
        users.append(username)
        return redirect(url_for('home'))
    return render_template('register.html')

@app.route('/donate', methods=['GET', 'POST'])
def donate():
    if request.method == 'POST':
        medicine_name = request.form['medicine_name']
        medicines.append(medicine_name)
        return redirect(url_for('home'))
    return render_template('donate.html')

@app.route('/list_donations')
def list_donations():
    return render_template('list_donations.html', medicines=medicines)

if __name__ == '__main__':
    app.run(debug=True)

index.html

<!DOCTYPE html>
<html>
<head>
    <title>Home</title>
</head>
<body>
    <h1>Welcome to Online Unused Medicine Donation</h1>
    <a href="{{ url_for('register') }}">Register</a>
    <a href="{{ url_for('donate') }}">Donate Medicine</a>
    <a href="{{ url_for('list_donations') }}">List Donations</a>
</body>
</html>

register.html

<!DOCTYPE html>
<html>
<head>
    <title>Register</title>
</head>
<body>
    <form action="/register" method="post">
        <input type="text" name="username" placeholder="Username">
        <input type="submit" value="Register">
    </form>
</body>
</html>

donate.html

<!DOCTYPE html>
<html>
<head>
    <title>Donate Medicine</title>
</head>
<body>
    <form action="/donate" method="post">
        <input type="text" name="medicine_name" placeholder="Medicine Name">
        <input type="submit" value="Donate">
    </form>
</body>
</html>

list_donations.html

<!DOCTYPE html>
<html>
<head>
    <title>List of Donations</title>
</head>
<body>
    <ul>
        {% for medicine in medicines %}
            <li>{{ medicine }}</li>
        {% endfor %}
    </ul>
</body>
</html>
Click to rate this post!
[Total: 0 Average: 0]

Download Medical Aid with Online Unused Medicine Donations to NGOs PDF


Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button