The backend service of "PARROT".
- Language: Python 3.7
- Framework: Flask 1.1
- WSGI Server: Gunicorn
- Deploy: Cloud Run
# install requirements
$ pip install pipenv
$ pipenv run init
# activate
$ pipenv shell
- Container
# build docker image
$ docker build -t $(DOCKER_TAG_NAME) .
# compiles and hot-reloads
$ pipenv run start
- Container
# run docker container
$ docker container run --rm -p 5000:5000 $(DOCKER_TAG_NAME)
# type check
$ pipenv run type
# lint
$ pipenv run lint
# format
$ pipenv run format