https://prevworks.herokuapp.com/
First make sure you have python3 installed and give further commands to install the application
Clone the project locally and run below commands to setup local python env , install required libraries and then run the flask app
pip install virtualenv
virtualenv env
source env/bin/activate
pip install -r requirements.txt
- install postgresql
- create a database prevworks
- run create_table.sql and create all required tables
- run below commands for configuring db env
export ENVIRONMENT=LOCAL
export DATABASE_URL=postgresql://postgres@localhost:5432/prevworks
cd PrevWorks
export FLASK_APP=flaskr
flask run
- Includes information about the user and forms that allow the user to change information about the user such as address and password.
- Includes information about the companies that the employee is a part of and allows them to add and remove companies from their list.
- Employees can submit a report of their injuries on the Report Injury page.
- The page provides a form to report covid-19 symptoms and a body diagram to select injured body parts.
- Employees can report the injured date and descriptions through the provided text box.
- Covid-19 Symptoms Report
- Employees can report injured body parts by clicking on the body diagram.
- Multiple body parts can be selected and the selected parts are visually differentiable by color.
- The color of the selected parts changes to orange. Employees can deselect by clicking on the part again.