More Premium Hugo Themes Premium Nuxt Themes

Nuxt Firebase Project

NuxtとFirebaseを組み合わせた認証・認可までを実装したスターターのリポジトリ

Nuxt Firebase Project

NuxtとFirebaseを組み合わせた認証・認可までを実装したスターターのリポジトリ

Author Avatar Theme by fujiyamayuta
Github Stars Github Stars: 58
Last Commit Last Commit: Apr 14, 2021 -
First Commit Created: Dec 18, 2023 -
Nuxt Firebase Project screenshot

Overview:

This article provides an overview of a Nuxt+Firebase starter project that aims to simplify the implementation of authentication/authorization in web services. The author noticed that implementing authentication/authorization is a recurrent and time-consuming task in service development. To address this issue, they created a template project using Nuxt and Firebase and made it available for others to use. The article describes the repository’s features and provides installation instructions.

Features:

  • Nuxt.js: A progressive framework for building web applications.
  • Buefy + Bulma: A lightweight and flexible CSS framework for building user interfaces.
  • Firebase: A cloud-based platform that provides various services for web and mobile app development, including hosting, database, storage, and authentication.

Installation:

To install the Nuxt+Firebase starter project, follow these steps:

  1. Clone the repository: git clone https://github.com/FujiyamaYuta/nuxt-firebase-project.git
  2. Configure Firebase:
    • Create a new project on Firebase.
    • Note the project ID and web API key.
    • Enable Google authentication in the Authentication section of Firebase and configure other desired authentication methods.
    • Provision Cloud Firestore and Cloud Storage in the Database section of Firebase.
  3. Update Nuxt configuration:
    • Open the src/plugins/firebase.js file in the cloned project.
    • Add the project ID and web API key obtained from Firebase.
  4. Run the project:
    • Start the local development server: npm run dev.
    • Open the application in the browser at localhost:3000 to confirm that it is working.
  5. Deploy the project:
    • Install the Firebase CLI if not already done: npm install -g firebase-tools.
    • Deploy the project to Firebase hosting: firebase deploy.

Summary:

This article introduces a Nuxt+Firebase starter project that aims to simplify the implementation of authentication/authorization in web services. The project includes Nuxt.js, Buefy + Bulma, and various Firebase services such as hosting, database, storage, and authentication. The article provides installation instructions for setting up the project and briefly describes its features.