Oops, I accidentally made our website faster by switching to Remix
We migrated our site to a new hosting provider, and with it a new React framework. We expected the site to run a little slower. Our tests proved otherwise.
Supabase is an extremely powerful and cheap option for building your next big startup idea. In this series, Jon Meyers, Alaister Young and Tyler Shukert demonstrate how to build a SaaS product using Remix and Supabase ๐ฐ This week we implement protected loaders and actions, requiring the user to be signed in with a valid session, before they can navigate to a particular route. Additionally, we create a reusable helper function to wrap around any Remix loader or action to ensure the user is authenticated ๐ง 00:00 Starting soon 00:42 Introductions 07:40 Fun facts 17:38 What's new with Supabase 25:20 Recap last week 33:30 withAuth helper 1:02:00 Fixing user for SSR 1:17:47 Entry Detail page 1:34:57 Entry Edit page 2:04:56 Social links 2:06:55 Thanks for watching GitHub Repo: https://github.com/dijonmusters/happy-days Wanna have a say in what we build? Join us live every Thursday 5pm PT / 8pm ET โ๏ธ Follow the Supabase Happy Hour team ๐ ๐ฆ Jon Meyers: https://twitter.com/jonmeyers_io ๐ฃ Tyler Shukert: https://twitter.com/dshukertjr ๐จ Alaister: https://twitter.com/alaisteryoung Links and resources ๐ CityJS Singapore (online and in person) - https://singapore.cityjsconf.org/ โ๏ธ 50% off Level Up Tutorials Pro subscription - https://leveluptutorials.com/pro ๐ฟ Realtime Remix with Supabase - https://leveluptutorials.com/tutorials/realtime-remix-with-supabase ๐ช Session cookies in Remix - https://jonmeyers.io/blog/store-data-in-a-cookie-with-sessions-and-remix ๐ฅ egghead case study - https://egghead.io/case-studies/jon-meyers ๐งโโ๏ธ Supabase tips: one to many relationships - https://www.youtube.com/watch?v=5VrF9OVQ6rg Happy Chat ๐ฌ Did you miss us building out a multi-platform realtime chat app with Supabase, Next.js and Flutter? Check out this playlist ๐ฏ https://www.youtube.com/watch?v=sOSrPDtvvaQ&list=PL5S4mPUpp4OvEgxBhoVxXb5YS1ZAZih2l --- Learn more about Supabase ๐ ๐ธ Website: https://supabase.com/ ๐ฅ YouTube Channel: https://www.youtube.com/c/supabase ๐ฆ Twitter: https://twitter.com/supabase/ ๐พ Twitch: https://www.twitch.tv/supabase_tv ๐ Docs: https://supabase.com/docs ---
This video shows how to configure VS Code to debug your Remix loaders and actions. NOTE: You can now use the `debugger` statement instead of the external `debug()` function. I tried this before, but it didn't work. Not sure why it works now. You still can't set a breakpoint inside a route module, but you can add `debugger` statement and it will break there. You can then step through your code. I will be re-recording this video with this new info. Get the launch configuration here: https://rmx.fyi/debug
Have you heard about our new Remix Stacks template the K-pop Stack? It combines Remix, Supabase, Tailwind, and more to give you a note creation app with auth to help jump start your own Remix creation. Check out how to make it your own and get it deployed to fast and free! Repo: https://github.com/netlify-templates/kpop-stack Blog Post: https://www.netlify.com/blog/deploy-your-remix-supabase-app-today!/
HTTP Caching is a web fundamental every web developer should eventually learn. The quickest way to a slow website is to not understand caching and ofc, the best way to make your website fast is to take advantage of it. In this video we'll explain the basics of HTTP caching, how web browsers respond to it, and how CDNs take advantage of it, by building a bare-bones Node.js server and then quickly see how to specify caching headers in a Remix App.
In Today's episode will cover: - @Stripe Integration - Webhook Setup - Checkout Session and Payment Testing These videos are free and created for the community, support will be much appreciated! ๐ซถ
Learn more at https://remix.run
Check out the new v2_dev docs ๐ https://remix.run/docs/en/main/other-api/dev-v2 Indie stack ๐ https://github.com/remix-run/indie-stack