Vue Flask Save

Quick web Dasboard / REST API with Prometheus exporter

Project README

Vue-Flask

Quick web Dashboard / REST API with Prometheus monitoring

preview

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 metrics

curl 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
Open Source Agenda is not affiliated with "Vue Flask" Project. README Source: JulienBalestra/vue-flask
Stars
75
Open Issues
1
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating