Skip to content

A demonstration of Clean Architecture in the backend service for my sample application, "PARROT".

Notifications You must be signed in to change notification settings

esakik/parrot-backend

Repository files navigation

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

A demonstration of Clean Architecture in the backend service for my sample application, "PARROT".

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published