deepanshu-j / doc-app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IEEE Build-a-thon Hackthon

Link

(https://persistent-doctor.netlify.app/)

Problem Statement

Short story - Near my home are several clinics( non-emergency Clinics ) which I noticed are very crowded during certain hours and not so in the others, and due to that crowding social distancing could not be implemented properly in those chaotic hours, so the solution is if that somehow if we could know that during which interval are the least number of patients visiting that particular clinic so maybe if feasible we can choose that least crowded time hour. So that the crowd can be distributed across all working hours which will lead to efficient handling of patients by the doctors, less chaos for the clinic staff, less waiting time for patients, and shorter queues.

Solution

So This Web App has two main Actors, a Doctor and a Patient,

Doctor's role - A doctor logs in and verifies his clinic and after that he can see the list and the number of patients who booked an appointment in a particular interval ( like every 10 minutes or half an hour etc ) which is pictorially represented using a Bar Graph. He can print the List of patients and call them one by one in the clinic.

Patient's role - A patient logs in with his number with OTP verification and searches for the doctor, he selects the doctor and picks the suitable interval for the appointment, There's a calendar from which he can select the date and a Time Slot Table from which he can select a Time Slot. After that, he Enters his details like full name, age, etc., and pays for the Appointment. After payment, he can generate the Invoicing Slip for the payment and appointment.

This project was bootstrapped with Create React App.

Inspiration

  • Betterment of Healthcare facilities.
  • Implementation of Important measures like social distancing in these unprecedented times.
  • Efficient hospital business model for better organised process.

Features used in the app/web

Brief about Technologies

create-react-app
React Hooks
useState, useEffect,useContext
axios, react-table, react-calender, styled-components

Description

(All the Components are in the 'components' Folder) Folder Structure
-src
     -Assets
     -Components
          -Big
          -Medium
          -Small

All Components are Hooks Based

Naming Convention Used - BEM

For Styling the Components - CSS

Directions to run locally

In the project directory, you can run:

  1. You need to have the following installed (Latest Version Preferred)

    • Node.js
    • npm
    • create-react-app using npm
  2. Run 'npm install'

    • To Install all the dependencies
  3. Run 'npm start'

    • To Run the Project In Dev Mode
  4. Run 'ctrl + C' in the Command Line to stop the Node Deamon from serving the react app

If Run into an Error during installation

  1. Update Node and npm to latest version
  2. Try installing Cors library using npm as this Project uses External API to Fetch Data
  3. Comment Down the Error, and we will try to solve it

Future of your project in terms of expansion

  • Implementing a strong Back-end with Secure payment service options.
  • Implementing a hassle-free login with OTP integration.

Screenshots

Home Page

image

image

Verification Page

image

Doctor's Dashboard

image

Patient Search's for Doctor

image

Patient Select's Date and Time Interval for the Appointment

image

Patient Book's and Pays and Generates an Invoice

image

Video Link

https://drive.google.com/file/d/1-Zi-iFa0oC40c287ErhM6DLUdMhbju1N/view

About


Languages

Language:JavaScript 66.4%Language:CSS 30.3%Language:HTML 3.4%