Home
Softono

Nuxt Firebase Sns Example

Open source Vue
481
Stars
49
Forks
8
Issues
6
Watchers
3 years
Last Commit

 About Nuxt Firebase Sns Example

Nuxt v2 & Firebase(Hosting / Functions SSR / Firestore), Google Auth SNS Example.

Platforms

Web Self-hosted

Languages

Vue

Need Help Installing Nuxt Firebase Sns Example?

We provide expert installation service for this software. Our team will install, configure, and secure Nuxt Firebase Sns Example on your server. plans start at just $30.

Nuxt Firebase Sns Example

View on GitHub

Nuxt & Firebase(Hosting and Functions SSR), Firestore, Google Auth SNS Example

code style: prettier donate: Patreon License: MIT

Screen Shot 2019-06-26 at 1 34 03

Requirements

Need the following environment variables.

Image

export APIKEY=
export AUTHDOMAIN=
export DATABASEURL=
export PROJECTID=
export STORAGEBUCKET=
export MESSAGINGSENDERID=
export APPID=

recommendation: direnv/direnv

Build Setup

# install dependencies
$ yarn

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

Deploy to Firebase

This application can also be launched with the normal Node.js application. However, by using Firebase Hosting and Firebase Functions, it can be used efficiently in a serverless environment.

setup project

$ yarn firebase init

setup env

firebase functions:config:set environment.apikey=""
firebase functions:config:set environment.authdomain=""
firebase functions:config:set environment.databaseurl=""
firebase functions:config:set environment.projectid=""
firebase functions:config:set environment.storagebucket=""
firebase functions:config:set environment.messagingsenderid=""
firebase functions:config:set environment.appid=""

deploy

$ yarn deploy