Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antonybudianto/express-firebase
:fire: Express starter for your Firebase applications
https://github.com/antonybudianto/express-firebase
express expressjs firebase starter
Last synced: about 2 months ago
JSON representation
:fire: Express starter for your Firebase applications
- Host: GitHub
- URL: https://github.com/antonybudianto/express-firebase
- Owner: antonybudianto
- License: mit
- Created: 2016-12-31T09:23:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T18:35:16.000Z (about 2 years ago)
- Last Synced: 2024-04-14T07:59:57.823Z (8 months ago)
- Topics: express, expressjs, firebase, starter
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 59
- Watchers: 3
- Forks: 15
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# express-firebase
Simple Firebase Admin Server using NodeJS.
You used Firebase for auth, realtime DB, and all. Finally you need your own server
to integrate with 3rd party services, or maybe custom token, or you need server-side operations.> Have existing express server? Try out [Express Firebase Middleware](https://github.com/antonybudianto/express-firebase-middleware)
## How to use
1. Clone this repo and change directory to the cloned folder
2. Install the packages```sh
npm install
```3. You need to download your Firebase Service Account json file, please follow the official [instruction](https://firebase.google.com/docs/admin/setup).
Put the file at project root.
> :warning: Always make sure the JSON file is git-ignored!
4. Copy `.env.example` file and rename it to `.env` at project root.
Change the dummy FIREBASE_DATABASE_URL value with your Firebase project databaseURL, you can find it on your Firebase Console
5. Then start the server
```sh
npm start
```
6. It should log successfully, and you can start using Firebase Admin SDK
7. For further reading, please visit [Express Firebase Middleware repo](https://github.com/antonybudianto/express-firebase-middleware)## License
MIT