2020年3月22日日曜日

firebase etc

(nuxt mysql axios)
https://qiita.com/magaya0403/items/e292cd250184ea3fe7b0
完動TODO-firebase;main.jsを以下の如く一部改変したが、app.vueはそのままでOK

import Vue from 'vue'
import App from './App'
import firebase from 'firebase'

Vue.config.productionTip = false

// Initialize Firebase
var config = {apiKey: "AIzaSyDR25V6IjIMmOGRky-Gu7IFk-xk6hfzl-I",
    authDomain: "axios-ex.firebaseapp.com",
    databaseURL: "https://axios-ex.firebaseio.com",
    projectId: "axios-ex",
    storageBucket: "axios-ex.appspot.com",
    messagingSenderId: "835561925001",
    appId: "1:835561925001:web:046d92faf19f64a9011958",
    measurementId: "G-KLTB6NPMJE"
};
firebase.initializeApp(config);

/* eslint-disable no-new */
//new Vue({
//  el: '#app',
//  components: { App },
//  template: '<App/>'
//})

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
}).$mount('#app') // これが最新の書き方だった
ーーーーーーーーーーーーーーーーーーーーーーここ以外はサイトのまま
https://www.non-standardworld.co.jp/20548/
それと https://github.com/non-standardworld/nuxt-firebase-studies
まともに動くgoogle auth,研究要

hthttp://web.showjin.me/ubuntu_mysql-server.htmlhttp://web.showjin.me/ubuntu_mysql-server.html  :: mysql reinstall
https://qiita.com/ktn/items/a53a791a95315c36f933 :: mysqlからデータをとってくる例題

(firebase)  
https://laboradian.com/install-google-cloud-sdk-on-wsl-ubuntu/ :: gcloud sdk
https://www.wakuwakubank.com/posts/721-firebase-firestore-introduction/ 
:: firesbase-firestore
 https://qiita.com/t_furu/items/665bea8b657c78ab2a22 
:: firebase これはうまくいった ただし 。。。。/index.htmlが必要!

https://norm-nois.com/blog/archives/4080 :: storage uploader nedd not CORS setup
https://firebase.google.com/docs/storage/web/download-files?hl=ja :: unlike above, storage download need CORS setup
 https://qiita.com/niusounds/items/383a780d46ee8551e98c :: firebase storage which need CORS version :: CORS see above

https://rightcode.co.jp/blog/information-technology/golang-introduction-firestore-data-manipulator
【第3回】Go言語(Golang)入門~Firestoreデータ操作編~
https://log.shinofara.xyz/2018/02/firebase%E3%81%AE%E6%96%B0%E3%81%97%E3%81%84databasecloud-firestore%E3%82%92go%E3%81%A7%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%8B/ ::  same above
https://qiita.com/croquette0212/items/f40dbad5dfbad16fc76d :: golang and firebase realtime database

0 件のコメント:

コメントを投稿