diff --git a/plan b/plan index 2b59013..ff8a656 100644 --- a/plan +++ b/plan @@ -1,8 +1,8 @@ pup.cloud Download components -- web frontend +- web frontend (Flask) - message queue + k/v store (redis) -- task processor(s) +- task processor(s) (Flask-RQ2 workers) web frontend: ? python+flask+rq+openid or saml @@ -15,6 +15,7 @@ public routes: private routes: - GET / -> 200 index - GET /add -> 200 add_page +- GET /.rq -> rq-dashboard api routes: - GET /api/v1/queue -> 200 queue_list (application/json) (list queue) @@ -26,4 +27,11 @@ api routes: - PUT /api/v1/queue/state -> 200 transition_state (application/json) (set a new state for the application) - GET /api/v1/id/logout -> 302 pup.cloud Identify SLO -- GET /api/v1/id/user -> 200 userdata (application/json) (list basic user information) \ No newline at end of file +- GET /api/v1/id/user -> 200 userdata (application/json) (list basic user information) + +documentation references: +rq: https://github.com/rq/rq +flask example project: https://realpython.com/flask-by-example-part-1-project-setup/ +flask mega-tutorial (one chapter goes into flask-rq2 usage): https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world +flask-rq2 usage and reference: https://flask-rq2.readthedocs.io/en/latest/ +youtube-dl emedded usage: https://github.com/ytdl-org/youtube-dl/blob/master/README.md#embedding-youtube-dl \ No newline at end of file