- 🚀 Protected Routes
- 🚀 Firebase User Object in Global Context via
useUser
- 🚀 User Authentication
- 🚀 Routing
It's also blazingly fast 🔥 No really, try it out for yourself.
We also have a similar template for SUPABASE💚🍀
- Clone the repository
- Install dependencies:
npm install
- Go to
./config.ts
and add your Firebase configuration - Run the app:
npm run dev
/router/index.tsx
is where you declare and manage your routes/context/AuthContext.tsx
is where you can find theuseUser
hook- This hook gives you access to the
user
object from Firebase Auth globally
- This hook gives you access to the
/Providers.tsx
is where you can add moreproviders
orwrappers