Simple example python flask crud app for sqlite. This is a simple data entry application which was built on Python. Should work on Python 3.8 and above
open the terminal and follow the white rabbit.
git clone https://github.com/slimprepdevops/example-python-flask-crud.git
cd example-python-flask-crud/
sudo apt update
sudo apt install python3-pip
pip install flask
sudo apt install python3-venv
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
export FLASK_APP=crudapp.py
flask db init
flask db migrate -m "entries table"
flask db upgrade
To make the flask app visible from your public IP, run the command with the --host part
flask run --host=0.0.0.0
You can now view your application from your browser on your public IP
This project is licensed under the MIT License - see the LICENSE file for details