๐Ÿ“ฆ ln-dev7 / next-shadcn-firebase-auth-boilerplate

Next shadcn firebase auth boilerplate

โ˜… 21 stars โ‘‚ 8 forks ๐Ÿ‘ 21 watching
๐Ÿ“ฅ Clone https://github.com/ln-dev7/next-shadcn-firebase-auth-boilerplate.git
HTTPS git clone https://github.com/ln-dev7/next-shadcn-firebase-auth-boilerplate.git
SSH git clone git@github.com:ln-dev7/next-shadcn-firebase-auth-boilerplate.git
CLI gh repo clone ln-dev7/next-shadcn-firebase-auth-boilerplate
LN LN Delete .github directory ae17588 1 years ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ app
๐Ÿ“ components
๐Ÿ“ context
๐Ÿ“ firebase
๐Ÿ“ lib
๐Ÿ“ public
๐Ÿ“ utils
๐Ÿ“„ .env
๐Ÿ“„ .env.example
๐Ÿ“„ .eslintrc.json
๐Ÿ“„ .gitignore
๐Ÿ“„ components.json
๐Ÿ“„ next.config.js
๐Ÿ“„ package-lock.json
๐Ÿ“„ package.json
๐Ÿ“„ postcss.config.js
๐Ÿ“„ README.md
๐Ÿ“„ tailwind.config.js
๐Ÿ“„ tailwind.config.ts
๐Ÿ“„ tsconfig.json
๐Ÿ“„ README.md

Next Shadcn Firebase Auth Boilerplate

This is a Boilerplate that uses ``NEXTJS` - `SHADCNUI` - `REACT HOOK FORM` - `ZOD` - `FIREBASE` to create an authentication system. You must therefore create your firebase project at home and fill in this information in your `.env`` file

NEXT_PUBLIC_FIREBASE_API_KEY="xxx"
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN="xxx"
NEXT_PUBLIC_FIREBASE_PROJECT_ID="xxx"
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET="xxx"
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID="xxx"
NEXT_PUBLIC_FIREBASE_APP_ID="xxx"
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID="xxx"
FIREBASE CONFIG

Authentication methods

Currently there are 3 authentication methods:

  • Google
  • Email/Password
  • GitHub
To add one of these methods, you must enable it in your firebase console

GOOGLE

FIREBASE GOOGLE AUTH SETTING

EMAIL / PASSWORD

FIREBASE EMAIL/PASSWORD AUTH SETTING

GITHUB

You must create your application on your github to have this information https://github.com/settings/developers

FIREBASE GITHUB AUTH SETTING