Skip to content

This is an example starter project, using Nuxt 3 (composition API) with Firebase and Pinia to auth users in client-side

Notifications You must be signed in to change notification settings

zelisturkyilmaz/nuxt3-firebase-pinia-starter

Repository files navigation

Nuxt 3 - Firebase - Pinia Minimal Starter Template

This is an example starter project, using Nuxt 3 (composition API) with Firebase and Pinia to auth users in client-side.
The goal is to make it easy to generate an application that has basic Firebase authentication setup.

Look at below documentations to learn more:
Nuxt 3: https://nuxt.com/docs/getting-started/introduction
Firebase Authentication on Web: https://firebase.google.com/docs/auth/web/start

Firebase setup

You need to create Firebase account and setup SDK.

You need to create .env file with this content from Firebase project:

cp .env.example .env

Set environment variable:

NUXT_PUBLIC_API_KEY=""

Setup

Make sure to install the dependencies:

# npm
npm install

Development Server

Start the development server on http://localhost:3000

# npm
npm run dev

Production

Build the application for production:

# npm
npm run build

Check out the deployment documentation for more information.

About

This is an example starter project, using Nuxt 3 (composition API) with Firebase and Pinia to auth users in client-side

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published