session management

This commit is contained in:
mrjvs
2023-10-28 18:34:32 +02:00
parent 94e1f9ebe1
commit 8f503b9c5a
13 changed files with 448 additions and 13 deletions

View File

@@ -2,10 +2,24 @@
Backend for movie-web
## Todo list
- [ ] endpoint to consume provider metrics
- [ ] register endpoint
- [ ] remove user endpoint
- [ ] ratelimits for all endpoints
- [ ] metrics for all http requests
- [ ] session CRUD endpoints
- [ ] data save endpoints
- [ ] standard endpoints:
- [ ] make account (PFP, account name)
- [ ] login
- [X] logout a session
- [ ] read all sessions from logged in user
- [ ] edit current session device name
- [ ] edit account name and PFP
- [ ] delete logged in user
- [ ] backend meta (name and description)
- [ ] upsert settings
- [ ] upsert watched items
- [ ] upsert bookmarks
- [ ] consume provider metrics
- [ ] prometheus metrics
- [ ] requests
- [ ] user count
- [ ] provider metrics
- [ ] ratelimits (stored in redis)
- [ ] switch to pnpm
- [ ] think of privacy centric method of auth
- [ ] global namespacing (accounts are stored on a namespace)