Skip to content

Prodip-Kumar-Paul/MEDIEASY-BACKEND

Repository files navigation

MEDIEASY


MEDIEASY is a Fully Optimized and Responsive web App that lets you find out nearby hospitals around your location, distance and necessary information at the time of your emergency.


The Problem It Solves

It's 2022 already but to this date, many people die just because of late treatment. In the previous 2 years we've gone through the worst phrases ever. We've seen people running from place to place to arrange medical supplies, beds, and oxygens for their loved ones. But it's very hard to see that in this digital age we do not have platforms that can help in these situations.

This problem motivated us to develop something using our tech weapons to help us and others. Our project is MEDIEASY which is a healthcare platform. Which provides real-time data about hospitals. This data can be really handy in emergency cases. There are 2 main options Search for a particular hospital Search for nearby hospitals

After searching for a hospital all the details regarding that hospital will be displayed. NAME, ADDRESS, BED TYPES AND AVAILABILITY ,AVAILABILITY OF BLOODS, VACCINES, AMBULANCE, EMERGENCY and HELPLINE NUMBER, PHONE NUMBER DISTANCE

There are two separate applications MEDIEASY and MEDIEASY-ADMIN

MEDIEASY : This is the general application for all users to search for hospitals and access their details

MEDIEASY-ADMIN : This is for the hospital officials only. From this portal they can update corresponding hospital details which will reflect on the web app.

Example Scenario : Let us consider Patient P who lives in a small town. He has a heart attack. There are two hospitals one in the north (Hospital A) and one in the south (Hospital B) from his house and it'll take 20 mins to reach anyone. His friends decide to go to hospital A but this hospital has already exceeded its emergency capacity. They run towards hospital B now (20 mins gone already) now it'll take 40 mins more to reach hospital B so overall it'll take 60 mins to get medical support. So if they have used our app then they'll get to know that Hospital a will not take any other emergency case so they would go to hospital B. So using our application will save precious time which is one of the most important factors for healthcare

Challenges we ran into

  • Unable to use Google Maps API Key due to credit Card
  • Lack of Responsive Frameworks
  • Low Location API Hit Credits (Caused Delay in Testing)

Live Demo

Images

MEDIEASY Web Application

WhatsApp Image 2022-04-10 at 9 26 49 PM (1) WhatsApp Image 2022-04-10 at 9 26 49 PM (2) WhatsApp Image 2022-04-10 at 9 26 49 PM

MEDIEASY Admin Web Application(For Hospital Officials)

image (5)

image (6)

Video Demo

Pictures

Hosting Platforms

Repo Links

Environments Setup

// .env for Local API Server

# DEV CRED
DEV_PORT=xxxxxxxxxxxxxxxxxxx
DEV_DB_NAME=xxxxxxxxxxxxxxxx
DEV_DB_URL=xxxxxxxxxxxxxxxxxx
DEV_DB_PASSWORD=xxxxxxxxxxxxxx
DEV_EMAIL=xxxxxxxxxxxxxxxxxxxx
DEV_PASSWORD=xxxxxxxxxxxxxxxx
DEV_LOCALIQ_API_KEY=xxxxxxxxx (API key for Location API Service)
DEV_JWT_ACTIVATE=xxxxxxxxxxxxxx
// .env for LOCAL ADMIN WEB APPLICATION

REACT_APP_BASE_URL=xxxxxxxxxxxxxxxxxxxx

Start Server

git clone https://github.com/Prodip-Kumar-Paul/MEDIEASY-BACKEND.git
cd MEDIEASY-BACKEND
npm install
npm run strat:dev

Start ADMIN Web Application

git clone https://github.com/Bijoy-007/MEDIEASY_ADMIN.git
cd MEDIEASY_ADMIN
npm install
npm start

Start MEDIEASY Web Application

git clone https://github.com/Bijoy-007/MEDIEASY.git
cd MEDIEASY
npm install
npm start

Huge Shoutout to

nodemon axios bcryptjs compression cors dotenv express express-mongo-sanitize express-rate-limit express-validator helmet hpp jsonwebtoken mongoose morgan nanoid nodemailer xss-clean antd react react-otp-input react-redux react-router-dom react-bootstrap react-bootstrap-typeahead react-icons

Tech Stack

Client: React, Redux, antd, React-Bootstrap

Server: Node, Express

DataBase MongoDB

Used Location API

Why not GOOGLE MAPS API ?

Google Maps Api key required Free Billing Account to use, which required Credit Card. As we can't afford credit card we can't use it. We could add more functionality and accuracy in this project by using Google Maps Api

Next Steps

  • Availability of Hospital Doctors
  • Live Location Tracking
  • User Can filter Hospitals by Diseases
  • Live video call with Doctors
  • SOS for Quick Response

Contributers

Feel Free to Contribute