ExpressJS based boilerplate with firebase admin and typescript integration
- Install dependencies using either
yarn
ornpm i
- Create a firebase account
- Go to project settings
- Go to the service account tab
- Generate new private key
- Download the private key. The private key is a
.json
file. - Replace the private key
.json
file in./firebase-config
with your own private key.json
file. Update the import of the private key infirebase.ts
to your private key. - Go to
firebase.ts
and update theDATABASE_URL
with the url to your firebase realtime db.