A repo with NextJS, supabase and DAL pattern working example. Anyone have it?

Hey guys... i've been struggling for weeks with supabase to keep an alive user session but i keep failing at it and i already refactored whole website dozens of times using several approaches and still, no luck at all... does anyone have bare example of using supabase with nextjs and using DAL pattern - https://nextjs.org/docs/app/guides/data-security#data-access-layer
  • please? if possible, not using cookies since supabase does not recommend using it all... i've been using getClaims already and this is only slowing me down somehow...
Learn the built-in data security features in Next.js and learn best practices for protecting your application's data.
Was this page helpful?