Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eddyystop/feathers-live-query
Live query. Mirror part of a DB on the client.
https://github.com/eddyystop/feathers-live-query
Last synced: 2 months ago
JSON representation
Live query. Mirror part of a DB on the client.
- Host: GitHub
- URL: https://github.com/eddyystop/feathers-live-query
- Owner: eddyystop
- License: mit
- Created: 2016-10-16T02:50:57.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-16T03:06:46.000Z (about 8 years ago)
- Last Synced: 2024-08-18T15:56:26.726Z (5 months ago)
- Language: JavaScript
- Size: 491 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-feathersjs - Live query. Mirror part of a DB on the client.
README
# feathers-live-query
> Live queries with 1 line of JS.
![Live query demo](./live-query.gif)
## Getting Started
Getting up and running is as easy as 1, 2, 3.
1. Make sure you have [NodeJS](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
2. Install your dependencies
```
cd path/to/feathers-live-query
npm install
```3. Start the server
```
npm start
```
4. Start one or more clients by pointing a browser to `localhost:3030`.The server runs one cycle of DB commands and then waits on client requests.
The clients communicate with the server using `socket.io` websockets.
They make no requests of the server other than the live request.You have to restart the server and the clients to rerun the demo.
## Testing
Simply run `npm test` and all your tests in the `test/` directory will be run.
## Help
[The book](http://docs.feathersjs.com).
[The community](https://feathersjs.slack.com/messages/general/).
## Changelog
__0.1.0__
- Initial release
## License
Copyright (c) 2016
Licensed under the [MIT license](LICENSE).