Edresson / Flask-Login-System

Flask + SQLAlchemy simple login/registration system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login System

Flask + SQLAlchemy simple login/registration system. In the system there is the admin user who has permission to create users. Ordinary users cannot create users.

Setup

Install the Python requirements:

python3 -m pip install -r requirements.txt

Initialize the database:

cd server
python3 app.py initdb

Server

Run with the builtin (debug) server:

python3 app.py runserver -h 0.0.0.0 -p 8080 --threaded

The server should now be accessible on http://localhost:8080

Images

First Login - setting password for "admin" user

Flask

Login Page

Flask

Admin Home Page

Flask

User Home Page

Flask

Change Password Page

Flask

Add New User Page

Flask

About

Flask + SQLAlchemy simple login/registration system


Languages

Language:HTML 35.2%Language:JavaScript 26.3%Language:CSS 19.6%Language:Python 18.9%