add useful references to the plan
This commit is contained in:
parent
0bb7656c00
commit
4c6911a96d
14
plan
14
plan
|
@ -1,8 +1,8 @@
|
||||||
pup.cloud Download
|
pup.cloud Download
|
||||||
components
|
components
|
||||||
- web frontend
|
- web frontend (Flask)
|
||||||
- message queue + k/v store (redis)
|
- message queue + k/v store (redis)
|
||||||
- task processor(s)
|
- task processor(s) (Flask-RQ2 workers)
|
||||||
|
|
||||||
web frontend:
|
web frontend:
|
||||||
? python+flask+rq+openid or saml
|
? python+flask+rq+openid or saml
|
||||||
|
@ -15,6 +15,7 @@ public routes:
|
||||||
private routes:
|
private routes:
|
||||||
- GET / -> 200 index
|
- GET / -> 200 index
|
||||||
- GET /add -> 200 add_page
|
- GET /add -> 200 add_page
|
||||||
|
- GET /.rq -> rq-dashboard
|
||||||
|
|
||||||
api routes:
|
api routes:
|
||||||
- GET /api/v1/queue -> 200 queue_list (application/json) (list queue)
|
- 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)
|
- 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/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…
Reference in New Issue