0.0.7 • Published 8 years ago

boostjs-server v0.0.7

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
8 years ago

BoostJS 🚀 serverside by Clever.ly

BoostJS is an opinionated framework designed to make responsive data easy and efficient. This is a nodejs serverside implementation which provides efficient data publishing over websockets. BoostJS currently only supports RethinkDB.

Implementing Boost is currently not easy. Following this sample project is probably the easiest way to get started. https://github.com/briancw/boost-sample-project

npm install boostjs-server

const BoostServer = require('boostjs-server');
const boost = new BoostServer({
    spdy: {
        protocols: ['http/1.1'],
        plain: true,
    },
});
const port = 3000;
const app = boost.app;
app.get('/', function(req, res) {
    res.send('It Works!');
});
boost.launch(port, err => {
    console.log('Listening on port ' + port);
});

Notable Npm Modules

Core:

  • thinky: RethinkDB ORM
  • socket.io: socket connections between server and client with multiplexing, fallbacks, auto-reconnect, and other useful features

Project Requirements

This project requires Rethinkdb to be installed on your machine https://www.rethinkdb.com/docs/install/

Additionally, you will need node and npm. Current recommend version is 6.x

Development Guide Project Todos