pegedi / emulators-codelab-1

Based on codelab: Getting started with the Firebase Local Emulator Suite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gitpod ready-to-code

How to use this repository

This repository is meant to be used with the Firestore and Functions Emulator Codelab.

There are two folders in this respository, codelab-starting-state and codelab-final-state. To walk through the codelab, clone down the project, git clone github.com/firebase/emulators-codelab, cd codelab-starting-state, and then follow along with the codelab steps. To see the front end, functions, or security rules, written in the codelab, cd into codelab-final-state, instead.

How to make contributions?

Please read and follow the steps in the CONTRIBUTING.md

License

See LICENSE

firebase settings

  1. create firebase project
  2. create firestore db
  3. enable anonymous authentication

steps:

$ cd codelab-initial-state/
$ cd functions && npm install && cd -
$ npm install -g firebase-tools
$ firebase --version
$ firebase login --no-localhost
$ firebase projects:list
$ firebase use --add
$ firebase emulators:start

Resources

https://medium.com/better-programming/dockerize-your-development-environment-in-vs-code-d55ba8d705a9 https://www.youtube.com/watch?v=fPtGgOJykTM&list=WL&index=12&t=0s

About

Based on codelab: Getting started with the Firebase Local Emulator Suite

License:Apache License 2.0


Languages

Language:JavaScript 83.9%Language:CSS 9.2%Language:HTML 5.2%Language:Dockerfile 1.6%