# feathers-live-query

> Live query. Mirror part of a DB on the client.

Latest version **0.0.1** (published 2016-10-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install feathers-live-query
pnpm add feathers-live-query
yarn add feathers-live-query
bun add feathers-live-query
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-10-16 |
| First published | 2016-10-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=5.0.0 |
| Dependencies | 33 |
| Known vulnerabilities | 0 (+4 in 3 direct dependencies) |
| Install scripts | no |
| GitHub stars | 12 |
| Author | John Szwaronek |
| Maintainers | eddystop |
| Keywords | feathers, feathersjs, hook, hooks, live query, mirror |

## Links

- npm: https://www.npmjs.com/package/feathers-live-query
- Repository: https://github.com/eddyystop/feathers-live-query
- Homepage: https://github.com/feathers/feathers-live-query#readme
- npm.io page: https://npm.io/package/feathers-live-query

## Dependencies (33)

- [cors](https://npm.io/package/cors.md) 2.8.1
- [nedb](https://npm.io/package/nedb.md) 1.8.0
- [rxjs](https://npm.io/package/rxjs.md) 5.0.0-rc.1
- [winston](https://npm.io/package/winston.md) 2.2.0
- [feathers](https://npm.io/package/feathers.md) 2.0.2
- [passport](https://npm.io/package/passport.md) 0.3.2
- [babel-cli](https://npm.io/package/babel-cli.md) 6.14.0
- [babel-core](https://npm.io/package/babel-core.md) 6.14.0
- [body-parser](https://npm.io/package/body-parser.md) 1.15.2
- [compression](https://npm.io/package/compression.md) 1.6.2
- [babel-eslint](https://npm.io/package/babel-eslint.md) 6.1.2
- [babel-loader](https://npm.io/package/babel-loader.md) 6.2.5
- [rucksack-css](https://npm.io/package/rucksack-css.md) 0.8.6
- [style-loader](https://npm.io/package/style-loader.md) 0.13.1
- [feathers-nedb](https://npm.io/package/feathers-nedb.md) 2.5.1
- [feathers-rest](https://npm.io/package/feathers-rest.md) 1.5.0
- [serve-favicon](https://npm.io/package/serve-favicon.md) 2.3.0
- [feathers-hooks](https://npm.io/package/feathers-hooks.md) 1.5.8
- [postcss-loader](https://npm.io/package/postcss-loader.md) 0.13.0
- [feathers-errors](https://npm.io/package/feathers-errors.md) 2.4.0
- [feathers-reactive](https://npm.io/package/feathers-reactive.md) 0.4.0
- [feathers-socketio](https://npm.io/package/feathers-socketio.md) 1.4.1
- [babel-preset-react](https://npm.io/package/babel-preset-react.md) 6.11.1
- [babel-preset-es2015](https://npm.io/package/babel-preset-es2015.md) 6.14.0
- [babel-preset-stage-0](https://npm.io/package/babel-preset-stage-0.md) 6.5.0
- [feathers-configuration](https://npm.io/package/feathers-configuration.md) 0.2.3
- [feathers-authentication](https://npm.io/package/feathers-authentication.md) 0.7.11
- [babel-plugin-transform-runtime](https://npm.io/package/babel-plugin-transform-runtime.md) 6.15.0
- [babel-plugin-add-module-exports](https://npm.io/package/babel-plugin-add-module-exports.md) 0.2.1
- [babel-plugin-transform-object-rest-spread](https://npm.io/package/babel-plugin-transform-object-rest-spread.md) 6.8.0
- [babel-plugin-transform-es2015-destructuring](https://npm.io/package/babel-plugin-transform-es2015-destructuring.md) 6.9.0
- [babel-plugin-transform-react-inline-elements](https://npm.io/package/babel-plugin-transform-react-inline-elements.md) 6.8.0
- [babel-plugin-transform-react-constant-elements](https://npm.io/package/babel-plugin-transform-react-constant-elements.md) 6.9.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2016-10-16

## 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).

---
_Source: https://npm.io/package/feathers-live-query · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
