Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

laurentsenta/konserve-firebase

Repository files navigation

konserve-firebase

Firebase backend for the konserve library. This is Clojurescript only.

Usage

Clojars Project CircleCI

The library provides 2 namespaces:

  • konserve-firebase.core: thin layer around the Firebase javascript lib, mimics a clojure map,
  • konserve-firebase.store: konserve storage backend.

TODOs

  • Have the tests pass
  • Enable the source map when compiling with advanced optimizations
    • right now, :source-map "target/release/js/konserve-firebase.js.map" will raise cryptic errors about not being in a certain directory.

Contribute

git clone git@github.com:lsenta/konserve-firebase.git
cp prepare.sh.example prepare.sh
vim prepare.sh # put your firebase config

source ./prepare.sh
make test

CLI Testing relies on doo. It requires some setup.

License

MIT License

Copyright (c) 2017 Laurent Senta

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

Konserve backend for FirebaseDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published