Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Vaibhav Kamble, Ganesh Chaudhari, Prof. Pallavi Thakur
DOI Link: https://doi.org/10.22214/ijraset.2024.63514
Certificate: View Certificate
This research paper delineates the creation and execution of an application based on serverless architecture, aimed at simplifying blood donation by enabling location-based donor searches. The system primarily uses cloud services such as API Gateway, Lambda Functions, and DynamoDB on popular cloud platforms. Google Maps API integration provides a dynamic mapping solution for a better user experience. This application allows a donor and blood bank to register their details including her GPS coordinates, thus providing users with an efficient and real-time way to find a donor nearby. Serverless architecture ensures cost efficiency, scalability, and seamless management of resources. API Gateway and Lambda functions are us ed to create RESTful APIs and facilitate communication between applications and databases. The DynamoDB database is used to store donor information, ensuring data persistence, reliability, and easy retrieval. Users can use the application to search for donors based on their current location and view the results on an interactive map. The system optimizes the blood donation process by calculating and displaying important information such as distance to the donor’s location, direction, and estimated time of arrival.
I. INTRODUCTION
Blood donation is a critical aspect of healthcare, playing a pivotal role in saving lives during emergencies, surgeries, and various medical conditions. However, despite its importance, blood donation processes face challenges, particularly in the efficient identification and mobilization of donors. Traditional methods of donor identification often lack real-time precision, leading to delays and inefficiencies in emergency situations. To address these challenges, this research introduces a ”Server- less Application on Cloud with Location-Based Blood Donor Finding System using Gmaps API.”
Key features of the application include secure donor registration, efficient data storage, and location tracking. The serverless architecture enhances the system’s responsiveness and scalability, ensuring optimal performance during peak us- age. The integration of Gmaps API enriches the user interface, providing an intuitive and interactive mapping solution.
The findings of this research contribute to the growing body of knowledge surrounding serverless architectures and their applicability in healthcare-related systems. The proposed ap- plication demonstrates the feasibility and benefits of leveraging cloud services for developing efficient and dynamic location- based blood donor finding systems, ultimately contributing to enhanced healthcare services and blood donation processes.
II. RELATED WORK
The electronic database of IEEE Xplore was queried using the search terms: ”Google Maps,” ”Amazon Web Services,” ”Serverless Architecture,” ”Blood Donation,” ”Blood Donor Finding,” and ”Cloud Technologies.” There are various study and research on topics on Application of Serverless Archi- tecture in use case project using Rest API and Google Maps. Following works were found useful or relevant to our proposed study.
Apart from these, there have been various research on system related to blood donation management but on different technologies like android [5], web technology based [6] etc.
III. METHODOLOGY
A. Blood Donation - Understanding Need and Challenges
Blood donation is essential for healthcare systems globally, yet numerous challenges persist in ensuring a steady and timely blood supply.
These challenges include:
B. Application in Problem Resolution
In order to overcome these obstacles, the suggested Server- less Application on Cloud with Location-Based Blood Donor Finding System integrates the Gmaps API and takes use of serverless architecture.
Users may locate donors and blood bank with available count in their area quickly and precisely thanks to the technology, which allows donors to record their real-time GPS locations.
Because of its serverless design, which guarantees affordable scalability, it is the perfect choice for healthcare applications with a range of demand. With rapid access to vital data including the donor’s position, distance, direction, and projected arrival time, this application seeks to expedite the blood donation procedure.
Through the use of cloud-based technology, the system helps to overcome geographical differences, shorten response times, and improve the general effectiveness of blood donation campaigns. The subsequent segments of this study explore the technical as- pects, execution, and assessment of this inventive resolution, elucidating its possible influence on healthcare systems and emergency response mechanisms.
C. Benefits of Serverless Architecture
Serverless architecture offers a paradigm shift in appli- cation development, emphasizing event-driven functions and abstracting the underlying infrastructure management.
This architecture provides several advantages, including:
D. Proposed Application Architecture
Consider the Application Architecture Figure 1.
The frontend of your application is built using React and hosted on Amazon S3. React code files, including HTML, CSS, and JavaScript, are stored in an S3 bucket, providing a scalable and reliable solution for hosting static assets.
2. API Gateway to Handle REST API Requests
AWS API Gateway serves as the entry point for handling REST API requests from the frontend to the backend. It allows you to define API endpoints, manage requests, and integrate them with backend services.
3. Lambda Function to Process API Requests
AWS Lambda functions act as the backend logic to process API requests from API Gateway. For ”GET donors,” a Lambda function retrieves donor information from DynamoDB. For ”POST donors,” another Lambda function processes and validates the incoming donor in- formation, saving it to DynamoDB. Similarly for Blood Banks, 2 APIs for to fectch Blood Bank details and save into DynamoDB
4. Donor Info Stored on DynamoDB
DynamoDB is a fully managed NoSQL database by AWS, used to store donor information. It provides fast and scalable storage for donor records, allowing for efficient retrieval and storage of data.
5. Google Maps - Places API
Google Maps Places API is utilized to point places on an interactive map. It enables the application to search for and display places related to blood donation centers, hospitals, or other relevant locations.
6. Google Maps - Directions API
Google Maps Directions API is used to calculate the distance and time between two points on the map. It helps users estimate the travel time to reach a blood donation center or the donor’s location.
7. Google Maps JavaScript API
Google Maps JavaScript API is integrated into the frontend to display an interactive map. It allows users to interact with the map, view locations, and receive dynamic updates based on the information retrieved from the backend.
8. IAM Role for DynamoDB Access
An AWS Identity and Access Management (IAM) role is created and associated with the Lambda functions. This IAM role grants the necessary permissions for Lambda functions to read and write data to DynamoDB securely.
E. User Consent on Location Sharing
In the context of our application, prioritizing user privacy is paramount, particularly when collecting location data. To address the privacy issues in Location Based Services (LBS) raised in [7], we have implemented a transparent approach to inform users about the purpose of location data collection. During onboarding, users are presented with an explicit checkbox, seeking their consent for location sharing. This opt- in mechanism provides users with control over their location preference. Through these efforts, our application seeks to balance functionality with respect for user privacy, fostering a secure and trustworthy user experience.
IV. IMPLEMENTATION
A. Solution Stack
Table I outlines the solution stack used for implementing the proposed application.
TABLE I Solution Stack
Frontend |
|
React JS |
To create webpage with interactive maps and forms to collect donor information |
AWS Managed Services |
|
S3 Bucket |
To store React Code Files |
API Gateway |
To call lambda function upon GET and POST requests |
Lambda Function |
Contains Python code for logic implementa- tion |
DynamoDB |
NoSQL Database to store donor information |
IAM Roles |
To allow lambda functions to interact with DynamoDB |
B. Workflow of System
A. Figure 2 shows the code files stored in S3 bucket, which also acts as static website hosting.
b. Figure 3 displays the registration page of donor, we will register an user for demonstration, the page also gets the gps coordinates of the user automatically.
c. Figure 4 displays the registration page blood banks, they register along with their blood availability count.
d. We can see the newly created user in DynamoDB along with other previously created users and blood bank in Figure 5 and Figure 6 respectively.
e. Figure 7 displays the dashboard where the users can search for donors filtered by blood group. It will also show nearby blood banks.
V. DEMONSTRATION & RESULT
We will demonstrate to find the nearby blood donor of blood group ’B+’. Figure 8 shows the donor and blood bank location on the map. Both have different markers.
Upon clicking any of the donor places, we can see the contact and name of the donor along with the time duration and direction between the user and donor location as shown in Figure 9. We can see that the donor Ganesh is 12 min away and we can see the Vaibhav’s contact number, and direction between the locations.
Figure 10 shows how blood bank information will be displayed. Additional detail of count of availability will be presented along with direction and time to reach. This will also help to identify blood banks where multiple blood types can be procured.
VI. FUTURE SCOPE
The proposed application has several potential future scopes and areas for expansion. Here are some possibilities:
6. Provide dashboard for blood banks to monitor and maintain their real time blood availability count.
7. SMS Notification Feature - Upon initiating a search, users will receive SMS notifications containing relevant donor information, ensuring quick access to potential donors in their vicinity. This feature enhances user engagement and facilitates prompt communication be- tween donors and recipients
[1] P. Goel, N. Jhanwar, P. Jain, S. Khatri and K. K. Hiran, ”Efficient Blood Availability for Targeted Individuals Through Cloud Computing Web Application,” 2023 International Conference on Emerging Trends in Networks and Computer Communications (ETNCC), Windhoek, Namibia, 2023, pp. 1-7, doi: 10.1109/ETNCC59188.2023.10284940. [2] A. P. Cavalheiro and C. Schepke, ”Exploring the Serverless First Strategy in Cloud Application Development,” 2023 International Sym- posium on Computer Architecture and High Performance Computing Workshops (SBAC-PADW), Porto Alegre, Brazil, 2023, pp. 89-94, doi: 10.1109/SBAC-PADW60351.2023.00023. [3] Y. Dian Harja and R. Sarno, ”Determine the best option for nearest medi- cal services using Google maps API, Haversine and TOPSIS algorithm,” 2018 International Conference on Information and Communications Technology (ICOIACT), Yogyakarta, Indonesia, 2018, pp. 814-819, doi: 10.1109/ICOIACT.2018.8350709. [4] A. Shahi, A. Barge, A. Butala and S. Patil, ”Rest API based Web Interface for Blogging Application,” 2023 International Conference on Sustainable Computing and Smart Systems (ICSCSS), Coimbatore, India, 2023, pp. 673-677, doi: 10.1109/ICSCSS57650.2023.10169662. [5] R. Elakya, M. Dhanam, B. Hemnaath, R. Dhanalakshmi, M. Gay- athri and H. B. I, ”Blood Donor Management System - An Android Based Model and Implementation,” 2022 Third International Confer- ence on Intelligent Computing Instrumentation and Control Technolo- gies (ICICICT), Kannur, India, 2022, pp. 607-614, doi: 10.1109/ICI- CICT54557.2022.9917630. [6] R. Bavyaa, S. Raja Mohamed, K. Sathyanarayanan and V. Mithun, ”LIFELINE – A Unified Solution for Healthcare Donation,” 2023 International Conference on Advancement in Computation & Computer Technologies (InCACCT), Gharuan, India, 2023, pp. 673-677, doi: 10.1109/InCACCT57535.2023.10141691. [7] N. Kulkarni, S. Tanwani and N. S. Chaudhari, ”Modelling Trust to Preserve End-User Privacy in Location Based Services,” 2021 Third International Conference on Inventive Research in Comput- ing Applications (ICIRCA), Coimbatore, India, 2021, pp. 1-6, doi: 10.1109/ICIRCA51532.2021.9544510.
Copyright © 2024 Vaibhav Kamble, Ganesh Chaudhari, Prof. Pallavi Thakur. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET63514
Publish Date : 2024-06-30
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here