Go to file
Thomas L ae818f6a9a serve frontend 2020-06-20 14:32:06 +02:00
pizzatool serve frontend 2020-06-20 14:32:06 +02:00
.editorconfig simple REST API to manage ingredients 2020-06-18 04:55:56 +02:00
.gitignore create REST API from model 2020-06-18 23:54:16 +02:00
README.md serve frontend 2020-06-20 14:32:06 +02:00
setup.py pin ormantic to version with bugfix 2020-06-20 14:31:45 +02:00

README.md

Pizzatool

# create virtualenv
virtualenv-3 venv
# activate virtualenv
. venv/bin/activate
# install pizzatool
pip install .
# run pizzatool with frontend in frontend/<myfrontend>/dist
pizzatool frontend/<myfrontend>/dist

Frontend Showdown

For the showdown create your frontend somewhere in frontend/<myfrontend>. Running pizzatool frontend/<myfrontend>/dist will serve frontend/<myfrontend>/dist at http://localhost:8000/ and the REST API at http://localhost:8000/api. You can inspect and test the API in http://localhost:8000/api/docs. Happy Hacking!