AloyASen / Fire-admin

firebase custom admin panel for @Adysenlabs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

How to use

  1. Clone this repo and change directory to the cloned folder

  2. Install the packages

    npm install
  3. You need to download your Firebase Service Account json file, please follow the official instruction.

    Put the file at project root.

    ⚠️ 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

    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

License

MIT

Copyright (c) 2016 Aloy A Sen

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

firebase custom admin panel for @Adysenlabs


Languages

Language:JavaScript 92.7%Language:HTML 5.2%Language:CSS 2.1%