Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 766 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 766 Bytes

Rekord Examples

License

Rekord is a javascript ORM that is offline & real-time capable.

This project contains examples and comes with a simple REST server and a PUB/SUB server for the real-time enabled applications.

Setup

npm install

REST Server

Starting:

node node_modules/clickermonkey-pubsubjs/pubsub-server.js ../../backend/config.js &
rest_pid=$!

Stopping:

kill -9 $rest_pid

Real-time PUB/SUB Server

Starting:

node backend/example-api.js &
live_pid=$!

Stopping:

kill -9 $live_pid