Browse Source

add useful references to the plan

primary
root 10 months ago
parent
commit
4c6911a96d
  1. 14
      plan

14
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)
- 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
Loading…
Cancel
Save