- 🚀 Protected Routes
- 🚀 Supabase Session Object in Global Context via
useSession
- 🚀 User Authentication
- 🚀 Routing and Route Guards
It's also blazingly fast 🔥 No really, try it out for yourself.
We also have a similar template for FIREBASE 🔥
- Clone the repository
- Install dependencies:
npm install
- Create
.env
using the.env.example
as a template
VITE_SUPABASE_URL=
VITE_SUPABASE_ANON_KEY=
- Run the app:
npm run dev
/router/index.tsx
is where you declare your routes/context/SessionContext.tsx
is where you can find theuseSession
hook- This hook gives you access to the
session
object from Supabase globally
- This hook gives you access to the
/Providers.tsx
is where you can add moreproviders
orwrappers