Skip to content
/ flask-pwa Public template
forked from umluizlima/flask-pwa

A progressive webapp template.

License

Notifications You must be signed in to change notification settings

vaisakhv/flask-pwa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask PWA

A progressive webapp template.

Flask PWA is supposed to be a goto template when I start a new Flask project. It is constructed on a Model-Template-Controller perspective, which I find clear enough for my current projects.

You can check a live version at Heroku.

Features

  • Blueprint oriented, Flask 1.0 project
  • Instantly deployable on Heroku
  • Off-the-shelf progressive web app behaviour
  • Service worker based on Workbox

Installation

> git clone https://github.com/umluizlima/flask-pwa
> cd flask-pwa
> pipenv install

Usage

Due to the current Service Worker specification, the web browser will only allow its registration if the application is served over https, or on localhost for development purposes.

This makes nGrok useful for testing the PWA functionality, as it allows you to expose localhost over the internet with https included.

localhost

> pipenv run flask run

nGrok

> pipenv run flask run
> ngrok http 80

Links

Licensing

This project is licensed under MIT license.

About

A progressive webapp template.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 27.9%
  • CSS 27.6%
  • HTML 24.8%
  • Python 19.7%