Publications app

Demo Python application about publications with rubrics, likes and JWT auth.

Used technologies

Quick start

Add venv and install packages

python -m venv venv
source venv/Scripts/activate
pip install -r API/requirements.txt

Add env.py to API folder

configuration options

name type
app_secret string
is_debug boolean

example

app_secret="my_secret_key"
is_debug=True

Run project

cd API
python app.py

Project structure

root
|
| - API - Flask application
    |
    | - models - ORM classes
    |   |
    |   | db.py - ORM config
    |
    | - resoureces - application endpoinds
    |
    | app.py - application startup
    | env.py - application config
    | securite.py - JWT auth config