https://github.com/thecodingmontana/nuxt-firebase-auth
Nuxt Firebase Auth Starter Template for all your Nuxt projects.
https://github.com/thecodingmontana/nuxt-firebase-auth
firebase firebase-auth nuxt nuxt3 tailwindcss
Last synced: 4 months ago
JSON representation
Nuxt Firebase Auth Starter Template for all your Nuxt projects.
- Host: GitHub
- URL: https://github.com/thecodingmontana/nuxt-firebase-auth
- Owner: thecodingmontana
- Created: 2023-12-14T07:20:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T15:41:08.000Z (almost 2 years ago)
- Last Synced: 2024-12-19T03:42:46.084Z (about 1 year ago)
- Topics: firebase, firebase-auth, nuxt, nuxt3, tailwindcss
- Language: Vue
- Homepage: https://nuxt-firebase-auth-starter.vercel.app/
- Size: 356 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt Firebase Auth Starter
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
## Setup
Make sure to install the dependencies:
```bash
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
```
## Firebase Configs
Make sure to update your ```.env``` file to match your firebase configs.
``` .env
FIREBASE_API_KEY = "*****"
FIREBASE_AUTH_DOMAIN = "*****"
FIREBASE_PROJECT_ID = "*****"
FIREBASE_STORAGE_BUCKET = "*****"
FIREBASE_MESSAGING_SENDER_ID = "*****"
FIREBASE_APP_ID = "*****"
```
## Development Server
Start the development server on `http://localhost:3000`:
```bash
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
```
## Production
Build the application for production:
```bash
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
```
Locally preview production build:
```bash
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
```
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.