revised: 11-Apr-2025
This a suitable app for an office website, very customizable with Bootstrap5 styling. As usual, see the README file for further details.
With the initial virtual environment described in the Flask 3pg Site and assuming a Ubuntu server environment with iRedmail functional. Upload the flklogin.zip (55Kb) file to your home directory.
The app should be seen via the browser at http://(MyIP or MyDomain):5000
Note: The admin user: admin@abc.com pwd: a1234s
In preparing the app to run through at webserver, one is recommend to use uwsgi then setup as a service. Take the following steps and by creating the file: wsgi.py
Enter the following commands:
Note: The above confirms if the settings within wsgi.py are correct. The app should be seen via the browser at http://(MyIP or MyDomain):5000
Using a similar setup described in Step#3 (PartB) in Flask 3pg Site, one can establish the systemd service to be render by the webserver.A very simple but informative app wherein users are registered within the main programme in an array called USERS (no database required). A straight-forward terminal command is executed to provide encrypted passwords. More details are found in the README file and the comprehensive application is available here: jwt.zip (6Kb)
A good clear but simple example on how to setup a register/login feature in Flask tied to a database (eg. Sqlite3). The application can be found here: login.zip (8Kb)
Advance Flask | Flask Roles Demo |
Flask Blog Demo |