Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.95 KB

README.md

File metadata and controls

48 lines (33 loc) · 1.95 KB

heat-resilience-app

This is a full-stack create-read-update-delete (CRUD) app dedicated to improving users' thermal comfort and increasing heat resilience.

MVP

Users will be able to:

  • Create a profile
  • Log in and modify their settings (e.g. opt in or out of notifications)
  • Receive automated text message alerts based on heat index (function of air temperature and relative humidity)
  • Keep track of how many alerts they have received over time on a Dashboard
  • Visit About & Resilience Resources pages

2.0

  • Refactor with FastAPI for handling async/await, promises
  • Incorporate authentication (LDAP? AD?)

APIs Required

Tech Stack

  • Python, Flask, Javascript, HTML, CSS, Chart.js, Bootstrap, PostgreSQL, SQLAlchemy, AJAX, Jinja, Pytest

How to Start the App

  • Clone this repo into your local machine
  • Run virtualenv env to create a virtual environment on your machine
  • Run source env/bin/activate to activate the virtual environment
  • Run pip3 install -r requirements.txt
  • Run source secrets.sh
  • Run python3 server.py

Images

  • Homepage: homepage

  • Dashboard Chart: chart

  • View Settings: view-settings

  • Update Settings: update-settings

  • Resilience Resources: resilience

  • Twilio Text Message: text-alerts

System Architecture

  • The database has normalized data.