Skip to content

slimprepdevops/example-python-flask-crud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Python Flask Crud

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

Screenshots

image

Installing (for linux)

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

License

This project is licensed under the MIT License - see the LICENSE file for details

About

simple example python flask crud app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 54.7%
  • Python 45.3%