smartclient-node

0.0.3 • Public • Published

smartclient-node

Server side implementation for SmartClient

Installation instructions

  • Create empty directory
  • Initialize package.json with npm init
  • Add smartclient-node to your Node.js project.
npm install -S smartclient-node

Installation process will ask following questions - accept defaults:

Destination directory [/home/user/smartclient-test/]:
Download SmartClient evaluation runtime (WARN: overwrites existing web/isomorphic directory)? [yes]:
Install sample (WARN: overwrites existing index.html file)? [yes]:

Downloading SmartClient runtime takes some time - be patient.

Instalation process can be repeated by running installed script ./node_modules/.bin/smartclient-install

Starting server

./node_modules/.bin/smartclient-server

Configuration

Installation process creates configuration file conf/config.properties. Update this file with your values. Server should be restarted for changes to take effect.

Current status

  • Supports RPC calls without method arguments
    • Transactions (per request)
  • Supports SQL data sources for MySQL and PostgreSQL
    • CRUD operations
    • Transactions (per request)
    • Paging
    • Sorting
    • Simple filtering
    • Filtering with Advanced criteria
  • Supports JSON data source: data is stored in file in JSON format
    • CRUD operations
    • always returns whole dataset
    • client side sorting
    • client side filtering

TODO

  • Add data source for MongoDB

Dependencies (8)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i smartclient-node

    Weekly Downloads

    1

    Version

    0.0.3

    License

    LGPL-3.0

    Last publish

    Collaborators

    • alius
    • iscnpmjs