Crucible
Fully client-side single-page application talking to FireBase to build a customizable CMS backed by a robust RESTful API. (Because the API is just FireBase!)
Installation
npm install crucible
- Rename
index-example.html
toindex.html
, changing the<base>
tag if necessary - Rename
config-example.js
toconfig.js
and set your firebase endpoint - Open
index.html
in a browser
Development
- Create a fork of
https://github.com/tivac/crucible
git clone https://github.com/<username>/crucible.git
cd crucible
npm install
- Rename
index-example.html
toindex.html
, changing the<base>
tag if necessary - Rename
config-example.js
toconfig.js
and set your firebase endpoint npm run build
npm start
- Open
http://localhost:9966
in a browser
Usage
You'll want to create a schema first. Schemas are JSON-ish documents that contain some number of fields.
Once you've created a schema you can create instances of that schema. All edits are synced in near-real-time to FireBase, so your data should always be in sync.