Connect your Flask app to a database using Flask-SQLAlchemy. This repository contains source code for the accompanying tutorial on Hackers and Slackers.
TEST : http://localhost:5000/?user=totogeek&email=geek@yahoo.fr Installation is recommended with Pipenv:
$ git clone https://github.com/hackersandslackers/flask-sqlalchemy-tutorial.git
$ cd flask-sqlalchemy-tutorial
$ pipenv shell
$ pipenv update
$ python3 main.py
Alternatively, try installing via setup.py
:
$ git clone https://github.com/hackersandslackers/flask-sqlalchemy-tutorial.git
$ cd flasksession-tutorial
$ python3 setup.py install
$ python3 main.py
Hackers and Slackers tutorials are free of charge. If you found this tutorial helpful, a small donation would be greatly appreciated to keep us in business. All proceeds go towards coffee, and all coffee goes towards more content.