| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
1,333 バイト追加 、 2022年4月30日 (土) 05:33
| [[Angular]] | [[Flask]] | [[TypeScript]] | [[Google Cloud Platform]] | [https://www.typea.info/blog/index.php/category/firebase/ ブログカテゴリ(Firebase)] | [[Flutter]] | [[FlutterFire]] |
{{amazon|4844398997}}
==[[Firebase]]==
 
*https://firebase.google.com/docs/?hl=ja
=====価格=====
=====サンプル=====
*https://firebase.google.com/docs/samples/?hl=ja
==[[iOS]]==*[https://firebase.google.com/docs/auth/ios/start?hl=ja Auth] ==[[Java]]==*[https://firebase.google.com/docs/admin/setup?hl=ja#java サーバーに Firebase Admin SDK を追加する] *http://softcommu-blog.com/?eid=15*[https://mvnrepository.com/artifact/com.google.firebase/firebase-server-sdk Maven Firebase SDK]*[https://cloud.google.com/iam/docs/creating-managing-service-account-keys サービスアカウントの作成] *[https://www.typea.info/blog/index.php/2020/12/01/vscode_java_maven_firestore/ VSCode+Java+MavenでFirestoreにデータ登録] ==[[Android Studio]] [[Firebase]] assistant==
[[File:0494_firebase_assis.jpg]]
|}
==[[Cloud Functions for Firebase]]==*https://firebase.google.com/docs/functions?hl=ja===環境構築===[[Cloud Functions for Firebase]]*[https://www.typea.info/blog/index.php/2020/0308/2202/cloud_functions_for_firebase_dev_envfirebase-cli-google-cloud-functions/ Firebase CLI プロジェクトの Google Cloud Functions for Firebase の開発環境をととのえるへファイルをアップロードして、Google Cloud Storageへ保存するコードをTypeScriptで書く]===処理===*[https://firebasewww.typea.googleinfo/blog/index.comphp/docscategory/google-cloud-functions/use-cases?hl=ja====典型的な使用例=========関心事が発生したときにユーザーに通知=====[[File:GoogleCloudFunctions_UseCase1.png]]=====データベースのサニタイズとメンテナンスを実行=====[[File:GoogleCloudFunctions_UseCase2.png]]=====アプリではなくクラウドで集中的なタスクを実行=====[[File:GoogleCloudFunctions_UseCase3.png]]=====サードパーティのサービスおよび API と統合=====[[File:GoogleCloudFunctions_UseCase4.png]Cloud Function関連ブログ]
==[[Cloud Firestore]]==*[[Cloud Firestore]]
*https://youtu.be/2Vf1D-rUMwE
==Cloud Storage==
 
===CROS [https://firebase.google.com/docs/storage/web/download-files?hl=ja Webでファイルのダウンロード]===
----
以下のようなエラーが出る
<pre>
Access to XMLHttpRequest at 'https://firebasestorage.googleapis.com/v0/b/rXXXXXX.jpeg? from origin 'http://localhost:58193' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
</pre>
*cros.json
<pre>
[
{
"origin": ["*"],
"method": ["GET"],
"maxAgeSeconds": 3600
}
]
</pre>
*deploy
<pre>
gsutil cors set cors.json gs://<your-cloud-storage-bucket>
</pre>
==Firebase Hosting==
*https://firebase.google.com/docs/hosting/
 
==Storage==
*[https://www.typea.info/blog/index.php/2020/08/02/firebase-cli-google-cloud-functions/ Firebase CLI プロジェクトの Google Cloud Functions へファイルをアップロードして、Google Cloud Storageへ保存するコードをTypeScriptで書く]
==Sample==

案内メニュー