Best Flask open-source libraries and packages

Vue_flask

Vue.js, Flask, and Firebase
Updated 1 year ago

vue_flask

Responsive AWS Serverless SPA using Vue.js, Flask, Firebase, and more.

Live Serverless Demo

https://kw4udfbos9.execute-api.us-west-2.amazonaws.com/production

Benefits of Serverless

Serverless operations do use a server, but it only runs 20-60 milliseconds at a time.

  • High Performance
  • High Availability
  • High Scalability
  • No Server and associated infrastructure to understand and maintain.
  • Easy undeployment

Disadvantage of Serverless

  • Deployment and Update actions require the entire project to be uploaded. Even a tiny change such as adding one character to a file requires the full project to be uploaded. Projects take minutes to upload.

Technologies Used

Requirements

  • Python 2.7.x or Python 3.6+
  • See requirements.txt

How to Setup Firebase

  • Setup a firebase account.
  • In firebase, click "Create New Project".
  • Open the project.
  • On the Overview page for your project click "Add Firebase to your web app".
  • Use this data to replace apiKey, authDomain, databaseURL, storageBucket, and messagingSenderId in templates/index.html.

Change Flask-S3 Config in vue_flask.py

  • app.config['FLASKS3_BUCKET_NAME'] = 'your_s3_bucket_name_here'

How to Deploy using Zappa - Serverless.

How to Update Deployment

  • zappa update production

How to Undeploy

  • zappa undeploy production
Tags serverless