An open API service indexing awesome lists of open source software.

https://github.com/mitinarseny/docker_flask_api

Template API on Flask in Docker.
https://github.com/mitinarseny/docker_flask_api

api docker flask jwt

Last synced: 2 months ago
JSON representation

Template API on Flask in Docker.

Awesome Lists containing this project

README

          

# Template API on Flask in Docker

> You can use this project architecture to easily build API on Flask in Docker.
## Usage

### Build

Run this in terminal from project root:
```bash
docker build -t .
```
### Run

Run this in terminal:
```bash
docker run \
-e JWT_SECRET_KEY= \
-e BUNDLE_API_ERRORS= \
-p : \
-t \
-i \

```
### Documentation
To see [Swagger](swagger.io) documentation for your API go to `http://[:]/api//doc`. It will also generate `JSON` swagger file and save it in `swagger_docs` directory.