Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1013 Bytes

README.md

File metadata and controls

61 lines (41 loc) · 1013 Bytes

Flask Sqlite API

tech

📃 Description

I built this project following this freecodecamp tutorial and this blog

⚙️ Set up

Virtual environment

Create venv

python3 -m venv venv

Activate venv

source venv/bin/activate

Install the dependencies

pip install -r src/requirements.txt

DB Setup

Run this commands one by one

cd src
flask db init
flask db migrate
flask db upgrade

Run the server

flask run

Watch for changes

FLASK_DEBUG=1 flask run

Update requirements

python -m pip freeze > requirements.txt