Skip to content
No description, website, or topics provided.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cert
conf
rpc
web
.gitignore
Const.js
LICENSE
README.md
copyright.txt
install.js
package.json
server.js

README.md

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
You can’t perform that action at this time.