dagron / parrot-backend

An example of clean architecture. Also, the backend service of "PARROT".

Home Page:https://parrot-n2zzz72gsq-uc.a.run.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

parrot-backend

The backend service of "PARROT".

Environments

  • Language: Python 3.7
  • Framework: Flask 1.1
  • WSGI Server: Gunicorn
  • Deploy: Cloud Run

Project setup

# install requirements
$ pip install pipenv
$ pipenv run init

# activate
$ pipenv shell
  • Container
# build docker image
$ docker build -t $(DOCKER_TAG_NAME) .

Run application

# compiles and hot-reloads
$ pipenv run start
  • Container
# run docker container
$ docker container run --rm -p 5000:5000 $(DOCKER_TAG_NAME)

Extras

# type check
$ pipenv run type

# lint
$ pipenv run lint

# format
$ pipenv run format

About

An example of clean architecture. Also, the backend service of "PARROT".

https://parrot-n2zzz72gsq-uc.a.run.app


Languages

Language:Python 98.0%Language:Makefile 1.2%Language:Dockerfile 0.9%