This is an example data provider implementation for datatables.net server-side processing with node.js.
It works like the existing php data provider.
The example uses the following components:
- Clone the repo and setup the environment
$ git clone git://github.com/meip/datatables-node.git - This examples used bootstrap as a git-submodule
$ cd cd static/css/libs/bootstrap/ $ ln -s ../../../../bootstrap/less/* .
-
Install dependencies for node
$ cd nodejs $ npm install -
Configure the database connection in server.js
-
Run the server
$ node server.js -
Open server_node.html in your browser (may use Google Chrome to prevent cross-domain problems)