Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/devhumblechris/nuxt-firebase-auth

Nuxt Firebase Auth Starter Template for all your Nuxt projects.
https://github.com/devhumblechris/nuxt-firebase-auth

firebase firebase-auth nuxt nuxt3 tailwindcss

Last synced: 12 days ago
JSON representation

Nuxt Firebase Auth Starter Template for all your Nuxt projects.

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.