Skip to content
/ gae-py3-boilerplate Public template

A web application starter template (boilerplate) for Google App Engine Python 3 runtime.

Notifications You must be signed in to change notification settings

ramuta/gae-py3-boilerplate

Repository files navigation

GAE Py3 Boilerplate

A web application starter for Google App Engine Python 3 runtime.

If you like this project, please star it! ;)

Features

  • Different types of authentication system:
    • Email-only auth (password-less, login is via emailed magic link)
    • Email/password authentication
  • Translations:
    • Built-in simple translation system
    • Each language has its own templates folder
  • Emailing system: via SendGrid
  • Various access levels: public, basic user, admin. Other levels can be easily added using decorators.
  • CSRF protection
  • Background tasks
  • Cron jobs
  • Datastore: NoSQL database with a very generous free tier and great scalability.
  • Tests

Quickstart

  1. Run the web app using run.py (instructions).
  2. Initialize the web app via http://localhost:8080/init. You can enter fake SendGrid key in the beginning (instructions).
  3. Login with your email and find the magic login link in the Terminal (in the printed email message). Click on the link and you'll be logged in.
  4. Explore the web app: /profile, /admin/users etc.

Documentation

TODO

  • Admin: update SendGrid key
  • User: upload profile picture to Google Cloud Storage + instructions in documentation (how to create a bucket)
  • Slovene translations (all HTML templates)
  • Documentation

Known issues

  • ...