Recent Posts

7 Debugging Strategies Every Developer Should Know

7 Debugging Strategies Every Developer Should Know

Debugging is an inevitable part of coding. As a developer, you'll always encounter bugs that need solving. Effective debugging can save time, reduce frustration, and improve your coding skills. Why Is Debugging Important? Bugs are unavoidable in programming. No matter...

Why GitLab is Essential for Modern DevOps Workflows

Why GitLab is Essential for Modern DevOps Workflows

Continuous integration (CI) and continuous delivery (CD) are vital for releasing high-quality software in today's industry. DevOps has become the industry standard for achieving this, focusing on automation and collaboration between development and operations teams....

Early career dos and don’ts for Gen-Z

Early career dos and don’ts for Gen-Z

Whether you’ve done an internship during every college summer or are dipping your toes into the world of work for the very first time, getting your career underway is a daunting experience.  Because not only are you trying to learn, make a good impression and...

Understanding Arrays in Programming

Understanding Arrays in Programming

If you're learning programming, chances are you've come across the term "array." Arrays are one of the most basic and important data structures in programming. They allow you to store multiple values in a single variable, making it easier to manage and manipulate...

Building a Robust Rest API for a Life-Saving Blood Management System

by | Mar 14, 2023

Building a Robust Rest API for a Life-Saving Blood Management System

Overview:

This project will involve building the backend Rest API for a blood management system in the U.K. As part of this project you will use PostGresSQL and MongoDb to store and cache records.

Tech Stack: Backend – express-javascript, express-typescript, flask-python

Why you should build it:

The Blood Management System project in SkillReactor is an excellent opportunity for users to gain practical experience in building a modern, scalable, and secure REST API. This project involves building the backend API for a blood management system in the UK, which includes using PostGresSQL and MongoDB to store and cache records. By completing this project, users will gain valuable experience in building a robust backend system that can handle large amounts of data, process requests quickly and efficiently, and store data securely.

Completing the Blood Management System project can benefit users in several ways. First, it allows users to gain practical experience in building a REST API, which is a highly desirable skill in the job market. Users will learn about data storage, caching, and security best practices, as well as how to process requests and handle errors in a RESTful architecture. Moreover, completing this project can be a great way to improve coding skills, learn about modern web development technologies, and create a portfolio piece that can be used to showcase skills to potential employers. Overall, the Blood Management System project in SkillReactor is an excellent opportunity for users to improve their coding skills, gain practical experience, and build a modern, scalable, and secure REST API.

Project Tasks:

Task BBMS1: Fetching blood donations using PostGres SQL.
In this task you will be connecting and retrieving items from a PostGres SQL database.You will fetch each Item by ID as part of a Get endpoint and then return the item to the user.

Task BBMS2: Return Blood filter by hospital.
In this task you will be creating a new endpoint that returns multiple objects. Your endpoint will return all blood donations for a given hospital.

Task BBMS3: Update SQL Record.
In this task you will create an endpoint that allows a user to edit and update any fields they would like for a blood donation.

Task BBMS4: Deleting Donations.
In this task you will be deleting donations by id.

Task BBMS5: Create multiple retrieve and filter endpoints.
In this task you will be creating two endpoints. One to return the records for a set blood type and another to return blood donated after a certain time.

Task BBMS6: Keeping the blood donation records clean.
In this task you will be creating and endpoint that cleans the blood donations.\n It will work by removing all the blood donations that have passed a given expiry date.

Task BBMS7: Caching in a NoSQL database.
In this task you will be caching a donation for an emergency. The donation will be cached using MongoDB.

Task BBMS8: Caching the most optimal record.
In this task you will update your work from the previous task to always update the record with lowest expiry date.

Task BBMS9: Retrieving an Emergency
In this task you will create a simple GET endpoint that returns the emergency from MongoDB.

Task BBMS10: Completing an Emergency
In this task you will handle the completion of an emergency. Meaning the blood has been used.

Task BBMS11: Cancelling an Emergency.
In this task you will handle the cancellation of an emergency. Meaning the blood is no longer needed and can be moved back to the SQL database.

Task BBMS12: Overall information endpoint.
In this task you will be creating an info endpoint that gives the user an overview of all the blood donations and emergencies.

Task BBMS13: Donating blood.
In this task you will create a POST endpoint for entering blood donations.

Task BBMS14: User info endpoint.
In this task you will be creating a user info endpoint. This endpoint will return all original data for a blood donation but will also include information about the person who donated it.

Task BBMS15: Batch functions run to clean blood donations.
In this task you will be creating a simple batch function that make a call to the /clean-blood endpoint. This will remove all expired blood from a donation database.

Task BBMS16: Batch function runs to alert hospital of emergency.
In this task you will be alerting hospitals of incoming emergencies.

0 Comments

Sticky Footer Ad Banner