Después de 2 años construyendo este proyecto Knoott ya es público!!!
Si quieren echarle un ojo y apoyarnos, se los voy a agradecer un bastante 👇
https://t.co/jqnyXNWksi
Protecting routes in @nextjs using async functions and @supabase queries! This code checks the user and their role. If not a SUPERADMIN, it redirects to "/dashboard". Unauthenticated users go to "/login". 🛡️🚀