blossom
Version:
Modern, Cross-Platform Application Framework
19 lines (14 loc) • 659 B
Markdown
# Blossom's Datastore framework
This framework includes all of the model-layer code in Blossom. It is
designed to run in browsers, on Node, and on all of Blossom's native runtimes.
The Datastore framework requires Blossom's Foundation framework to run.
If you have installed Blossom as an `npm` module (see `npm link`), you can
include Blossom's Datastore framework in your code like this:
```javascript
// in your projectfile.js
require('blossom/buildtools'); // needed to bring in the BT global
var project = BT.Project.create({
"foundation": require('blossom/foundation'), // required dependency
"datastore": require('blossom/datastore')
});
```