Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 913 Bytes

README.md

File metadata and controls

48 lines (31 loc) · 913 Bytes

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