Astro SSR on Cloudflare Pages / Lucia Github OAuth / Drizzle ORM / Cloudflare D1
Вставка
- Опубліковано 12 вер 2024
- Source code: github.com/and...
Trying Astro on Cloudflare Pages (with server side rendering), going to use Lucia Auth with Github and Cloudflare D1 as the database, with Drizzle ORM this time!
Support the channel:
Buy Me a Coffee www.buymeacoff...
Ko-fi ko-fi.com/andr...
UA-cam / @andrey.fadeev
PayPal paypal.me/andf...
Follow me:
LinkedIn / andfadeev
X / andfadeev
Substack blog.andreyfad...
Telegram t.me/andreyfad...
Github github.com/and...
Instagram / andfadeev
I'm truly grateful for your support, and thank you for watching! 🙏
☕ If you liked this video and want to support my channel, please consider buying me a coffee. Your contribution helps me create more content like this:
👉 Buy Me a Coffee: www.buymeacoffee.com/andrey.fadeev
👉 Ko-fi: ko-fi.com/andreyfadeev
Please also subscribe to my other resources:
👉 Substack: blog.andreyfadeev.com
👉 Telegram: t.me/andreyfadeevchannel
I'm truly grateful for your support, and thank you for watching! 🙏
Thank you for the resource, found navigating Lucia docs to do exactly this very difficult, but this has helped a lot!
Great, glad that it's useful!
These videos are super practical, thanks for putting the time into sharing
Thanks, glad those are helpful and I have fun time making them!
Great walkthrough! Thanks!
Thanks! :)
thanks bro
Thank you for this. I expanded this video to implement the auth using (email & password) Lucia and using D1. I find the latency for login page is very high using SSR & cloud flare D1. Sometimes it is even up to 5s. Did you face anything like this?
Hi, interesting, I don't remember having that bad latency, maybe it's something else in the code?
@@andrey.fadeev Thanks for your reply.
I think I figured it out. I am using scrypt for hashing the password. Apparently this is a slower process on workers. Probably need to look at a zero dependency alternative.
@@anupvarghese16 Would you mind sharing your code (or a video) on how you did email & password auth?
@@LouisDeconincksure I will make one and share it with you