https://github.com/mdarshad1000/hosp-line
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.
https://github.com/mdarshad1000/hosp-line
flask javascript postgresql python
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/mdarshad1000/hosp-line
- Owner: mdarshad1000
- Created: 2022-03-19T11:17:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-06-26T12:23:50.000Z (about 4 years ago)
- Last Synced: 2025-01-21T01:12:07.306Z (over 1 year ago)
- Topics: flask, javascript, postgresql, python
- Language: HTML
- Homepage: http://hospline.herokuapp.com/
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HospLine

## 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
```
2. Change to the repo directory:
```
cd Hosp-Line
```
3. If you want to use virtual environment (Recommended):
```
virtualenv HOSPENV && source HOSPENV/bin/activate
```
4. After that, install all the requirements
```
pip install -r requirements.txt
```
5. Create an 'auth.json' file in the 'Hosp-Line' directory and add
```
{
"HOST" : "hostname",
"DB" : "database name",
"USER" : "username",
"PASS" : "password",
"port_id" : "port
}
```
6. Run __init__.py, this will create your database. (Make sure you've Postgresql installed on your local system)
7. 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.