https://github.com/JulienBalestra/vue-flask
Quick web Dasboard / REST API with Prometheus exporter
https://github.com/JulienBalestra/vue-flask
flask-api prometheus-metrics vuejs2
Last synced: 7 months ago
JSON representation
Quick web Dasboard / REST API with Prometheus exporter
- Host: GitHub
- URL: https://github.com/JulienBalestra/vue-flask
- Owner: JulienBalestra
- Created: 2017-01-30T20:38:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-28T12:08:25.000Z (about 7 years ago)
- Last Synced: 2024-08-16T16:22:35.074Z (10 months ago)
- Topics: flask-api, prometheus-metrics, vuejs2
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 75
- Watchers: 7
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue-Flask
Quick web Dashboard / REST API with Prometheus monitoring

## Stack
* Backend
* Flask
* Gunicorn* Frontend
* VueJS
* Bootstrap## Use
### Requirements
* npm
* python3
* virtualenv
* docker (optional)#### Setup
make
#### Testing
make check
#### Gunicorn foreground
make run
#### Build and run the docker container
make image # optional
docker run -it --rm julienbalestra/vue-flask:latest
#### Observe prometheus metricscurl http://${endpoint}/metrics
### Structure
tree
.
|-- Dockerfile
|-- Makefile
|-- README.md
|-- app
| |-- __init__.py
| |-- api.py
| |-- monitoring.py
| |-- static
| | |-- Makefile
| | |-- css
| | | `-- index.css
| | |-- js
| | | `-- app.js
| | |-- media
| | | |-- flask.png
| | | `-- vuejs.png
| | `-- package.json
| |-- templates
| | `-- index.html
| `-- tests
| |-- __init__.py
| `-- test_api.py
|-- docs
| `-- preview.png
`-- requirements.txt
8 directories, 15 files