add useful references to the plan

This commit is contained in:
root 2020-08-27 14:06:12 +01:00
parent 0bb7656c00
commit 4c6911a96d
1 changed files with 11 additions and 3 deletions

12
plan
View File

@ -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)
@ -27,3 +28,10 @@ api routes:
- 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