This repo accompanies my blog post on Buliding an API with Firebase.
In order to create an app with Firebase please access the Firebase Console.
In order to learn about the Firebase Admin SDK please access Firebase Documentation.
The functions
folder holds the backend API endpoints.
The frontend
folder holds a basic Angular frontend application that consumes the API endpoints.
The presentation
folder holds a copy of the presentation that I did for the Capital One Summit Course in August 2019.
The postman
folder holds a postman collection that has example calls that you can run.
- Folder
localhost
are calls when running the functions locally - Folder
deployed
are calls when running the functions deployed. - Collection uses the environment variable
project-id
forlocalhost
vsdeployed
project values. Please review the Postman documentation for more info on how to set this up here.
There is a set of npm scripts that help with running this project:
start-frontend
runs the Angular frontend application locally onlocalhost:4200
api-serve
runs the API locally onport 5000
api-deploy
deploys the API into Firebasefirebase-install
installs the Firebase CLIfirebase-init
initializes a firebase project