2a7cbe5845e9f6679c4c2bc6783e90e2ed7f3a45
## TODO: get all this inside a docker container and use compose to do the whole set (pg, flask, ?) # flask -> python web server # sqlalchemy -> provides db-agnostic python objects of db content (and more) # flask-sqlachemy combines/wraps this to provide a db.* set of objects based on the 'app' that flask creates # marshmallow-sqlachemy provides a way to create a 'schema' of your class, then serialize an object to it # install needed binaries (maybe I could have done this instead of pip below too -- when I docker this shit, sort it out?) sudo apt install python3-psycopg2 libpq-dev ##LEARN: supposedly could use virtualenv instead of pip3 install --user? # --user sticks python libs in ~/.local/[bin|lib|share] pip3 install --user flask sqlalchemy flask-sqlalchemy flask-marshmallow SQLAlchemy-serializer # run the web server by: python3 main.py
Description
Languages
Python
67.4%
HTML
31.7%
Dockerfile
0.6%
Shell
0.3%