Skip to content

Latest commit

 

History

History
94 lines (75 loc) · 3.84 KB

README.md

File metadata and controls

94 lines (75 loc) · 3.84 KB

Blood-donation-system-backend

Blood donation is one of the major issue in today's system that need effective management system and constant encourgaement to give an effective pipeline in modern world. So to solve this problem, here we introduce backend for management system for this problem using Django frameowork Lib.

  • According to reports, In India every year overall 6M blood units are required but only 4M fulfilled. Currently, many blood donation apps and services are there in market. But with time, everyone lose their interest in fulfilling the requirement and it become source of income for them resulting in scram. To face this issue, we can only encourage donors by giving recognization.

Workflow

  • Development of flutter Blood donation app.
  • We'll using django to integrate app for the backend.
  • Databases: SQl/MongoDB
  • Database handling and quick responsing.

Future Goals

  • To develop a quick response donation management system.
  • Add portfolio generation to encourage youngsters to donate blood by giving them proper recognization.
  • Develop Ios and Android applications with Sql for daatabases and launch app on playstore.
  • Get certified from government to make this app official for the use.

🛠  Tech Stack

Django  Python  Flutter Dart SQLite DjangoREST

💼   Testing

To clone the repository:

$ git clone https://github.com/spiderxp3/blood-donation-system-backend.git
  • Create a virtual environment to install dependencies in and activate it:

      $ python3 -m venv venv
      $ source venv/bin/activate
  • Install the django using

    $ pip3 install django
  • Install all the dependencies using

    $ pip3 install -r requirements.txt
  • Run the migrations using the following commands

    $ python3 manage.py makemigrations
    $ python3 manage.py migrate
  • Run the Django server by

    $ python3 manage.py runserver

Note : In case you encounter errors during migrations, make sure that you have access rights to db.sqlite3 file. You can use the following command to rectify permission denied error

$ chown *username* db.sqlite3

Run the migrations again to continue.


🤝🏻  Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch git checkout -b feature/AmazingFeature
  3. Commit your Changes git commit -m 'Add some AmazingFeature
  4. Push to the Branch git push origin feature/AmazingFeature
  5. Open a Pull Request

License: MIT

Distributed under the MIT License. See LICENSE for more information.