Skip to content

VaughnDV/workslife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LifeWorks

Flask app serving csv data using pandas. Graphs mobile data coverage for selected area.

Prerequisites

  • python version 3.7+
  • pip
  • bash

Setup

Fetch the project from GitHub

Create your virtualenv if required

  • python -m venv venv
  • source venv/bin/activate

With your own secret keys

  • export SECRET_KEY="your-own-very-sercert-key"
  • export WTF_CSRF_SECRET_KEY="your-own-very-sercert-csrf-key"
  • pip install -r requirements.txt
  • python app.py

Usage

  • Navigate browser to: http://127.0.0.1:5000/

Brief background to my decisions

As it is an MVP I used:

  • I kept the project structure very simple
  • Flask as its good for prototyping and rapid development
  • Pandas as its easy to work with and modify data and its fast
  • Highchart js because I saw this as an opportunity to try it out
  • Python as it it cross platform, and its what I am comfortable with

With regards to all libraries used:

  • They must be well documented
  • Well maintained
  • Stable and commonly used in production
  • Decent sized online community

Other considerations

  • No tests due to time limitations
  • No database as its serving static data
  • Not optomised for web deployment as that was not required by the task brief

Thank you!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published