-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relinquish OAuth responsibilities #19
Conversation
I took the opportunity to tweak a couple of things — I kept getting confused about what Speaking of which, how does the migration work? Where does the script live? Should it be in this repo? |
Made a decent amount of progress on here and sveltejs/sites#78 — you can log in, create gists, fork and save them. But I think I've hit a bit of a roadblock with https://svelte.dev/apps. There's really no good way to paginate data in a KV store. We could fudge it, by slicing the array in the worker — would be fine in practice at the scales we're dealing with — but it sort of defeats the point of pagination. That, combined with the observation that we have to maintain a list of ownership separately from the gists themselves (synced non-transactionally), and the fact that there's no good way to periodically purge expired sessions, eventually forced me to conclude that we're just using the wrong tool for the job. KV is great for docs, but for gists/sessions/todos we need a relational database. I'm going to investigate Supabase and see if it'll work for our needs. |
Supabase is working well on sveltejs/sites#78, so I've removed all the auth/gists stuff from here. Have left the todos stuff until the Kit template can be updated to also use Supabase |
#18