In india around 12,000 people fail to get blood due to blood shortage everyday. People post blood request on social media and whatsapp status , sometime they get no response due to this patient life can be in danger. To solve this problem I made BloodLink , it connects blood seeker and blood donor in shortest time possible . To make this possible , first blood donors registered on our site and their data get stored in our Mongo Database along with their location coordinates , their location gets updated every 2 hours using node-cron library. Also there is map , which shows seekers current location and also shows nearby donors in the map , I am using Map my india but i will switch to Leaflet soon.
If there is a blood seeker , he/she can make a request by filling request form a message will be sent to the donors in the radius 0-30 km having details of the seeker , this is done using havesine formula that calculate the distance between donor and seeker . Along with details message also has a accept or decline link , if donor want to accept the request he/she can click on accept link and thankyou page will happen after some seconds it will notify seeker that particular donor has accepted your request and share details of donor to the seeker , if donor is busy he/she can decline the request , if one donor has accepted the request and other donor also click on accept link then a page showing particluar request has been accepted will be shown . Messaging part is done using Twilio .
Apart from this any user can check live availability of blood all over india , by clicking on live avaialability button , it is connected to eraktkosh a government website that shows blood availability data. BloodLink also has a community section where donor can share post about their blood donation and motivate other people to donate blood , it also has a section where information regarding upcoming blood donation and myths regarding blood donation will be shared.