8.2.1 • Published 12 months ago

ag-crud-rethink v8.2.1

Weekly downloads
3
License
UNLICENSED
Repository
github
Last release
12 months ago

ag-crud-rethink

Realtime CRUD data management layer/plugin for SocketCluster using RethinkDB as the database.

See https://github.com/SocketCluster/ag-crud-sample for a full working sample.

Setup

See https://github.com/SocketCluster/ag-crud-sample for sample app which demonstrates this component in action.

This module is a plugin for SocketCluster, so you need to have SocketCluster installed: https://socketcluster.io/ Once SocketCluster is installed and you have created a new project, you should navigate to your project's main directory and run:

npm install ag-crud-rethink --save

Now you will need to attach the plugin to your SocketCluster server - So open server.js and pass the agServer instance to the attach function exposed by this module.

As shown in the sample above, you will need to provide a schema for your data. In the example above, the Category, Product, and User keys represent tables/models within RethinkDB - Inside each of these, you need to declare what fields are allowed and optionally the views which are supported for each model type.

Simply put, a view is an ordered, filtered subset of all documents within a table. Views need to define a filter and/or order function which will be used to construct the view for table's data.

8.2.1

12 months ago

8.2.0

12 months ago

8.1.2

1 year ago

8.1.1

1 year ago

8.1.3

1 year ago

8.1.0

1 year ago

8.0.3

1 year ago

8.0.1

1 year ago

8.0.0

1 year ago

8.0.2

1 year ago

7.1.1

1 year ago

7.1.0

1 year ago

7.0.0

1 year ago

6.6.0

1 year ago

6.5.1

1 year ago

6.5.0

1 year ago

6.4.0

1 year ago

6.3.2

1 year ago

6.3.1

1 year ago

6.3.0

1 year ago

6.2.0

2 years ago

6.1.1

2 years ago

5.1.3

2 years ago

5.1.2

2 years ago

5.2.0

2 years ago

5.1.1

2 years ago

5.1.0

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.5

2 years ago

3.0.0

2 years ago

4.2.3

2 years ago

4.2.2

2 years ago

4.2.5

2 years ago

4.2.4

2 years ago

4.1.0

2 years ago

4.0.1

2 years ago

4.0.0

2 years ago

4.2.1

2 years ago

4.1.2

2 years ago

4.2.0

2 years ago

4.1.1

2 years ago

2.5.0

6 years ago

2.4.3

6 years ago

2.4.2

6 years ago

2.4.1

6 years ago

2.4.0

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.9.0

6 years ago