プロジェクト
概要
Nuxt v2とFirebaseを使ったサンプルです。Hosting、Functionsによるサーバーサイドレンダリング、Firestore、ソーシャルネットワーク向けのGoogle Authを扱います。
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルNuxt & Firebase(Hosting and Functions SSR), Firestore, Google Auth SNS Example
Requirements
Need the following environment variables.

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
関連プロジェクトを探す
読み込み中…