Skip to content

CarloColumna/flask-registration-sqlite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-registration-sqlite

PyPI

This is an web app created for a fictitious crypto group enthusiast. The backend support is mostly built with python with some javascript on the templates. It features the following:

  • User registration with user verification through email + token
  • User login after verification, with access to different webpages based on role
  • Role based permission using decorators
  • Database for storage

Prerequisites

  • Python 3.4.2+
  • Python extensions
  • SQLite

Installation

  • Python 3.4.2+ can be downloaded here
  • SQLite can be downloaded here
  • You can install Python packages by running pip on your command like:
python3 pip install Flask-SQLAlchemy
  • DBBrowser for SQLite can be downloaded here (optional)

QuickStart

Update Configuration settings

  1. Secret key and security salt
  2. Database URI
  3. Email settings

Set the configuration settings

$ export APP_SETTINGS="project.config.DevelopmentConfig"

or

$ export APP_SETTINGS="project.config.ProductionConfig"

Note: For windows use set instead of export

Create the database

$ python manage.py create_db
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py create_admin

Run

$ python manage.py runserver

About

A web app using python for back-end

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published