Commit e6d80dfc authored by Elia Ponzio's avatar Elia Ponzio
Browse files

Initial commit

parent c7149e2b
# generic-monitoring
VSHN Hackday [task]( to get a simple uptimerobot replacement.
A proper name is in the work
## Architecture Diagram
## Tech Stack
### Interface and Framework
We use [Flask]( as glue in between. It will provide an API interface as well as a basic web page that displays the deltas.
### Queue Worker
We will use celery as queue with its [periodic task]( feature.
### Database
A ORM will help us, TBD.
## Install
git clone && cd generic-monitoring
virtualenv venv -p python3
source venv/bin/activate
pip install -r requirements.txt
from flask import Flask
from flask_restful import Resource, Api
app = Flask(__name__)
api = Api(app)
class HelloWorld(Resource):
def get(self):
return {'hello': 'world'}
api.add_resource(HelloWorld, '/')
if __name__ == '__main__':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment