Bolt is an experimental security and rules compiler for Firebase. It is currently in early alpha. There are known bugs and incomplete features in the current implementation, so PLEASE DO NOT USE IN PRODUCTION applications.
Otherwise, we'd love to have feedback from early adopters. You can email questions to [email protected] using "Bolt" in the subject line.
- Firebase Security and Modeling Language - Language documentation and syntax.
You should have node.js and npm installed to use this repository.
Setup command line environment and lint, build, test.
$ source tools/use
$ configure-project
$ gulp
Check JavaScript source files for required formatting conventions:
$ gulp lint
Build Bolt parser from PEG grammar:
$ gulp build
Run command line tests:
$ gulp test
Run browser-based tests:
$ browser-tests
Execute a Bolt compiler from the command line:
$ firebase-bolt < <bolt-file>
A Firebase JSON file is sent to standard output.