Skip to content

meip/datatables-node

Repository files navigation

DataTables.net and Node.js with Bootstrap

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:

Setup

  • 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/* .
    

Quick Start

  • Install dependencies for node

    $ cd nodejs
    $ npm install
    
  • Install datatables.net MySQL sample database

  • 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)

About

DataTables.net and Node.js with Bootstrap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published