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.
functions folder holds the backend API endpoints.
frontend folder holds a basic Angular frontend application that consumes the API endpoints.
presentation folder holds a copy of the presentation that I did for the Capital One Summit Course in August 2019.
postman folder holds a postman collection that has example calls that you can run.
localhostare calls when running the functions locally
deployedare calls when running the functions deployed.
- Collection uses the environment variable
deployedproject 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-frontendruns the Angular frontend application locally on
api-serveruns the API locally on
api-deploydeploys the API into Firebase
firebase-installinstalls the Firebase CLI
firebase-initinitializes a firebase project