python-web-bazel-api-flask-params-hello-world
Description
Creates a simple api that takes params for a flask project.
Tech stack
- bazel
- python
- flask
Docker stack
- l.gcr.io/google/bazel:latest
To run
sudo ./install.sh -u
- http://localhost
- english http://localhost/lang?id=en
- spanish http://localhost/lang?id=es
- french http://localhost/lang?id=fr
- german http://localhost/lang?id=de
To stop (optional)
sudo ./install.sh -d
For help
sudo ./install.sh -h
Credits
https://programminghistorian.org/en/lessons/creating-apis-with-python-and-flask#creating-the-api