enbase v1.0.33
Enbase :fire:
Open source implementation of Google's Firebase Realtime Database :fire: with fully support for security rules :police_car: and auth! :credit_card:
Just run it! :rocket:
Install and run
You can run the server instance from powerful CLI enbase-cli
$ npm install -g enbase-cli
Launch the server
enbase
If you have any problem on Micorosft Windows
, you need to add .cmd suffix to command like this
enbase.cmd
Table of contents
General info :balloon:
Enbase is a nodejs
app, running as a server, that provides serverless
backend solution for your mobile and web apps. It is compatible to Firebase SDK's
and it is prefered to use them, because they can supply special features, that is specific for mobile or web platform (offline mode, faster data synchronization). We strongly recommend to use all Firebase SDK's
with Enbase by overriding databaseURL
How it works? :scream:
Enbase basically has dependency (firebase-websockets-adapter
), that provide fully websockets server with handler to Firebase SDKs
endpoints. Currently, Enbase
has handler for set
, read
and update
actions. Removing data from tree works fine.
To store data, enbase uses MongoDB
, in which, is saving data as a documents with path reference to place in a data tree.
Setup :hatching_chick:
You can run the server instance from powerful CLI enbase-cli
$ npm install -g enbase-cli
Launch the server
enbase
If you have any problem on Micorosft Windows
, you need to add .cmd suffix to command like this
enbase.cmd
Project config :whale:
To use enbase, change databaseURL
option in your Firebase SDK
like this:
const app = firebase.initializeApp({
databaseURL: `ws://localhost:3000`,
});
License
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago