Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goliatone/gstorage
Persistence module, multiple storage strategies.
https://github.com/goliatone/gstorage
Last synced: 4 days ago
JSON representation
Persistence module, multiple storage strategies.
- Host: GitHub
- URL: https://github.com/goliatone/gstorage
- Owner: goliatone
- License: mit
- Created: 2013-11-03T00:48:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-12T02:20:22.000Z (about 10 years ago)
- Last Synced: 2024-10-11T09:08:51.044Z (27 days ago)
- Language: JavaScript
- Size: 2.53 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# GStorage
[![Build Status](https://secure.travis-ci.org/goliatone/gstorage.png)](http://travis-ci.org/goliatone/gstorage)
Persistence layer
## Getting Started
Download the [production version][min] or the [development version][max].[min]: https://raw.github.com/goliatone/gstorage/master/dist/gstorage.min.js
[max]: https://raw.github.com/goliatone/gstorage/master/dist/gstorage.js## Development
`npm install && bower install`If you need to `sudo` the `npm` command, you can try to:
```terminal
sudo chown $(whoami) ~/.npm
sudo chown $(whoami) /usr/local/share/npm/bin
sudo chown -R $(whoami) /usr/local/lib/node_modules
```If you bump versions, remember to update:
- package.json
- bower.json
- component.json
- etc.## Bower
>Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.To register gstorage in the [bower](http://bower.io/) [registry](http://sindresorhus.com/bower-components/):
`bower register gstorage git://github.com/goliatone/gstorage.git`Then, make sure to tag your module:
`git tag -a v0.1.0 -m "Initial release."`
And push it:
`git push --tags`
## Travis
In order to enable Travis for this specific project, you need to do so on your Travi's [profile](https://travis-ci.org/profile). Look for the entry `goliatone/gstorage`, activate, and sync.## Documentation
_(Coming soon)_## Examples
_(Coming soon)_## Release History
_(Nothing yet)_## TODO:
- Make store factory to handle creation based on features.
- Define API for drivers.
- Define Store API.Use case, sync data stores.
Load data from local persistence- IndexedDB, WebSQL, LocalStore.
Load data from remote persistence- WebSocket, RESTul.
Save data to local persistence.
Save data to remote persistence.