Skip to content

A webapp that allows you to join a queue virtually which leads to less crowd in Hospitals and enables health workers to focus more on the important tasks.

Notifications You must be signed in to change notification settings

mdarshad1000/Hosp-Line

Repository files navigation

HospLine

image

Introduction

Amidst the global pandemic, managing crowd has been one of the prime challenge of the government and various institution. That is where HospLine comes to the rescue. HospLine is a webapp that allows you to join a queue virtually which leads to no gathering hence lesser people in Hospitals that enables health workers to have the essentials handy.

What does the Project do?

  • You will have to fill in your details in the given form and it will assign you a spot in the virtual queue.
  • On submitting the form, you'll be directed to a new page where your position in the virtual queue will be displayed.
  • It will also inform you about the number of people ahead of you in the queue.
  • If someone ahead of you leaves the queue, then the data will be updated and displayed on your page in realtime.

Installation / Usage

  1. Clone this Repo using:
git clone git@github.com:mdarshad1000/Hosp-Line.git
  1. Change to the repo directory:
cd Hosp-Line
  1. If you want to use virtual environment (Recommended):
virtualenv HOSPENV && source HOSPENV/bin/activate
  1. After that, install all the requirements
pip install -r requirements.txt
  1. Create an 'auth.json' file in the 'Hosp-Line' directory and add
{
    "HOST" : "hostname",
    "DB" : "database name",
    "USER" : "username",
    "PASS" : "password",
    "port_id" : "port
}
  1. Run init.py, this will create your database. (Make sure you've Postgresql installed on your local system)
  2. Now you are good to go. Run app.py and visit in your browser.
http://localhost:5000/

Contribution Guidelines

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

A webapp that allows you to join a queue virtually which leads to less crowd in Hospitals and enables health workers to focus more on the important tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •