Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.29 KB

firebase.md

File metadata and controls

61 lines (44 loc) · 1.29 KB

Firebase

Useful Resources

Name Location Notes
Firebase - Ultimate Beginner's Guide https://www.youtube.com/watch?v=9kRgVxULbag&feature=youtu.be None
Learning Cloud Functions for Firebase (video series) https://firebase.google.com/docs/functions/video-series/ None

npm install -g firebase-tools

Connect your account

firebase login

Initiate a new local Firebase project

# A command prompt will ask you to pick the service to initiate
firebase init

# Initiate a specific service
firebase init function
firebase init hosting

Start a local firebase server

firebase serve

# Locally deploy a specific service only
firebase serve --only functions

# Any local endpoints provided via cloud functions are shown in the terminal after the deploy is complete

Deploy firebase project to the cloud

# Deploy all services
firebase deploy

# Deploy a specific service only
firebase deploy --only functions

# Any endpoints provided via cloud functions are shown in the terminal after the deploy is complete