Edresson / Audio-Validation-WebSite

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


Languages

Language:HTML 37.5%Language:Python 25.1%Language:JavaScript 21.0%Language:CSS 16.4%