https://github.com/gruunday/pythonflaskapi
A Simple Python Flask API Template with API Keys
https://github.com/gruunday/pythonflaskapi
flask python python3
Last synced: 3 months ago
JSON representation
A Simple Python Flask API Template with API Keys
- Host: GitHub
- URL: https://github.com/gruunday/pythonflaskapi
- Owner: gruunday
- License: mit
- Created: 2021-08-18T18:49:45.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-08-18T19:00:01.000Z (almost 5 years ago)
- Last Synced: 2025-03-28T11:43:53.309Z (over 1 year ago)
- Topics: flask, python, python3
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Python API Template
This repo is a template for a python api with Flask
### Configure & Install
Configure `config.yml`
**Optional** To generate only the configuration files
```bash
make config
```
To run container on port 5005
```bash
make build
```
To run the container with traefik proxy and letsencrypt
```bash
make traefik
```
**Note:** If you are running this locally you won't be able to get a cert from letsencrypt
You should then build for local
```bash
make local
```
If you want to stop all containers
```bash
make stop
```
If you want to remove all generated config files
```bash
make clean
```
### Issues
If you have any questions or issues please open an issue on this repo