Firebase Emulator Suite
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
* 目次 [#e7f246b8]
#contents
* Install [#xaab057e]
** 前提 [#ea8b67bf]
*** firebaseのプロジェクトが用意されていることを確認 [#c0...
Firebaseコンソールにアクセス: https://console.firebase.go...
firebaseのCLIインストールされている前提ですが、コマンドラ...
firebase projects:list
*** プロジェクトディレクトリに移動 [#kbfa7eec]
プロジェクトディレクトリへの移動: コマンドプロンプトまた...
**** とりあえず以下のようにしました。 [#m9e4f677]
? Which Firebase emulators do you want to set up? Press ...
? Which port do you want to use for the auth emulator? 9...
i Port for hosting already configured: 5000
i Emulator UI already enabled with port: (automatic)
? Would you like to download the emulators now? Yes
Hosting Emulatorは、静的ファイルのサーバです。しかしGo言...
Cloud Functions for Firebase をいれたいので 再度インスト...
firebase init emulators
じゃまにならないなら、さいしょからいろいろ、入れておけば...
*** Firebase プロジェクトの設定を更新 [#b5dc84bb]
firebase init functions
*** Emulatorの設定を更新 [#n2d67d27]
firebase init emulators
* Firebase ローカル エミュレータ スイート [#fd869b08]
Firebase ローカル エミュレータ スイートは、開発者がFireba...
** 主な特徴: [#z27a9a15]
- 本番環境に影響を与えずにアプリをテスト可能
- 複数のFirebaseサービスをエミュレート(Firestore, Realti...
- ユーザーフレンドリーなインターフェース
** 使用シーン: [#ed7193e3]
- プロトタイピング
- 開発
- テスト(単体テスト、統合テスト、手動テスト)
- 継続的インテグレーション
** メリット: [#t7dcc0ed]
- 本番データを危険にさらさずにテスト可能
- 開発時間の短縮
- 複数のFirebaseサービス間の相互作用をテスト可能
** 注意点: [#z85a4861]
本番環境での使用は非推奨(パフォーマンスやセキュリティよ...
** 主なユースケース: [#hbcdfaad]
- 単体テスト:Node.jsでmochaを使用
- 統合テスト:実際のSDKや REST APIを使用
- 手動テスト:実行中のアプリをエミュレータに接続
- プロダクト評価:Firebase Extensionsのテスト
** サポートプラットフォーム: [#l149ddca]
Android, iOS, Web, Node.js Admin SDK(一部機能制限あり)
** 追加ツール: [#d0ee1eb5]
- Cloud Functions テストツール
- セキュリティルールテストツール
このツールを使用することで、開発者はFirebaseアプリケーシ...
* 公式へのリンク [#af50341a]
** Firebase ローカル エミュレータ スイートの概要 [#n34a08...
https://firebase.google.com/docs/emulator-suite?hl=ja
*** Firebase CLI リファレンス [#d139df1c]
https://firebase.google.com/docs/cli?hl=ja
** 紹介ブログ [#i352868c]
*** Firebase の Local Emulator Suite を使う [#y3d72f9a]
https://qiita.com/mml/items/33633f50db0218c97a82
*** Firebaseエミュレータを使う [#l6383035]
https://qiita.com/ak2ie/items/a50ea4e3da37f904bd1a
*** Firebase Emulator Suite を使用したローカル開発 [#g664...
https://firebase.google.com/codelabs/firebase-emulator?hl...
*** Firebase Local Emulator Suiteを使ってFlutterアプリの...
https://zenn.dev/shima999ba/articles/b83c4e26f2be18
*** Firebase Local Emulator Suiteの環境をDockerで用意する...
https://zenn.dev/cbcloud_blog/articles/6256f1a3d05a18
*** docker-compose × Firebase Emulatorでローカル環境構築 ...
https://zenn.dev/meijin/articles/marp-firebase-emulator
*** Firebase Local Emulator SuiteをDocker環境で構築して、...
https://qiita.com/ppco/items/87682b3a14ceb3702dbb
終了行:
* 目次 [#e7f246b8]
#contents
* Install [#xaab057e]
** 前提 [#ea8b67bf]
*** firebaseのプロジェクトが用意されていることを確認 [#c0...
Firebaseコンソールにアクセス: https://console.firebase.go...
firebaseのCLIインストールされている前提ですが、コマンドラ...
firebase projects:list
*** プロジェクトディレクトリに移動 [#kbfa7eec]
プロジェクトディレクトリへの移動: コマンドプロンプトまた...
**** とりあえず以下のようにしました。 [#m9e4f677]
? Which Firebase emulators do you want to set up? Press ...
? Which port do you want to use for the auth emulator? 9...
i Port for hosting already configured: 5000
i Emulator UI already enabled with port: (automatic)
? Would you like to download the emulators now? Yes
Hosting Emulatorは、静的ファイルのサーバです。しかしGo言...
Cloud Functions for Firebase をいれたいので 再度インスト...
firebase init emulators
じゃまにならないなら、さいしょからいろいろ、入れておけば...
*** Firebase プロジェクトの設定を更新 [#b5dc84bb]
firebase init functions
*** Emulatorの設定を更新 [#n2d67d27]
firebase init emulators
* Firebase ローカル エミュレータ スイート [#fd869b08]
Firebase ローカル エミュレータ スイートは、開発者がFireba...
** 主な特徴: [#z27a9a15]
- 本番環境に影響を与えずにアプリをテスト可能
- 複数のFirebaseサービスをエミュレート(Firestore, Realti...
- ユーザーフレンドリーなインターフェース
** 使用シーン: [#ed7193e3]
- プロトタイピング
- 開発
- テスト(単体テスト、統合テスト、手動テスト)
- 継続的インテグレーション
** メリット: [#t7dcc0ed]
- 本番データを危険にさらさずにテスト可能
- 開発時間の短縮
- 複数のFirebaseサービス間の相互作用をテスト可能
** 注意点: [#z85a4861]
本番環境での使用は非推奨(パフォーマンスやセキュリティよ...
** 主なユースケース: [#hbcdfaad]
- 単体テスト:Node.jsでmochaを使用
- 統合テスト:実際のSDKや REST APIを使用
- 手動テスト:実行中のアプリをエミュレータに接続
- プロダクト評価:Firebase Extensionsのテスト
** サポートプラットフォーム: [#l149ddca]
Android, iOS, Web, Node.js Admin SDK(一部機能制限あり)
** 追加ツール: [#d0ee1eb5]
- Cloud Functions テストツール
- セキュリティルールテストツール
このツールを使用することで、開発者はFirebaseアプリケーシ...
* 公式へのリンク [#af50341a]
** Firebase ローカル エミュレータ スイートの概要 [#n34a08...
https://firebase.google.com/docs/emulator-suite?hl=ja
*** Firebase CLI リファレンス [#d139df1c]
https://firebase.google.com/docs/cli?hl=ja
** 紹介ブログ [#i352868c]
*** Firebase の Local Emulator Suite を使う [#y3d72f9a]
https://qiita.com/mml/items/33633f50db0218c97a82
*** Firebaseエミュレータを使う [#l6383035]
https://qiita.com/ak2ie/items/a50ea4e3da37f904bd1a
*** Firebase Emulator Suite を使用したローカル開発 [#g664...
https://firebase.google.com/codelabs/firebase-emulator?hl...
*** Firebase Local Emulator Suiteを使ってFlutterアプリの...
https://zenn.dev/shima999ba/articles/b83c4e26f2be18
*** Firebase Local Emulator Suiteの環境をDockerで用意する...
https://zenn.dev/cbcloud_blog/articles/6256f1a3d05a18
*** docker-compose × Firebase Emulatorでローカル環境構築 ...
https://zenn.dev/meijin/articles/marp-firebase-emulator
*** Firebase Local Emulator SuiteをDocker環境で構築して、...
https://qiita.com/ppco/items/87682b3a14ceb3702dbb
ページ名: