| Fireadmin organizes and simplifies usage of Firebase
FireAdmin is a Javascript Library built to simplify implementing standard app functionality when using Firebase (User/Presence Management, Object CRUD/ Listing/Counting).
FireAdmin is especially useful when you are trying to administer a Firebase data set (hence the name). Administration dashboards are a breeze thanks to functions like getOnlineUserCount()
that provide analytics data in simple and easy to understand calls.
- Authentication pared to user management
- User Profile created on signup
- Session management
- Descructured Population based on ID
- Role management
- Include the Fireadmin bundle in your
index.html
:
<script src="http://cdn.prue.io/fireadmin/0.0.4/fireadmin.min.js"></script>
<!-- Or the following for the latest version -->
<!-- <script src="http://cdn.prue.io/fireadmin/latest/fireadmin.min.js"></script> -->
or
Install through package managers:
npm install fireadmin --save
bower install fireadmin --save
- Create a new FireAdmin Object:
var fa = new Fireadmin("https://<your-app>.firebaseio.com");
- Start using Fireadmin!
//Get count of users fa.getUserCount().then(function(count){ console.log('Your app currently has ' + count + ' users.'); });
API Documentation is automatically generated with JSDoc and is included in this repo under dist/docs
if you would like to view a local version.
- Fork repository
- Run
npm install
to install dev dependencies. - Run
npm start
to Serve and Open the dev environment.
- Role Management
- Automatic Rules Setup
- Admin Parameter