Skip to content

t-kawatsu/flask-web-api-template

Repository files navigation

flask-web-api-template

This is the template repository for flask web-api applications that are constructed with Docker.

Stack

  • Python 3.9
  • Docker
  • Poetry
  • MySQL 8.0
  • Make
  • Github Actions ( CI / CD tool )

Requirements

  • Docker

You need a runtime that installed docker machine for building.

Development

# Build docker image
$ docker-compose build

$ cp .env.sample .env

# Set up app
$ docker-compose run --rm app make setup

# Run docker image
$ docker-compose up


# Setup app
$ make setup

# Lint
$ make lint

# Test
$ make test

# Build
$ make build

# Run
$ make run

API

OpenAPI.

Troubleshooting

Lisence

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published