meatspace-parallax

Chat with LevelDB

meatspace-parallax

Chat using LevelDB. Currently under development.

user
  |
  friends
        |
        friendA   ,   friendB
              |             |
              chats         chats

Install leveldb

> npm install
var parallax = new Parallax('you@email.com');
parallax.getOrAddFriend('friend@email.com', function (err, u) {
  if (!err) {
    console.log(u);
  }
});
parallax.addChat('friend@email.com', 'hola!', function (err, c) {
  if (!err) {
    console.log(c);
  }
});
parallax.getChats('you@email.com', function (err, c) {
  if (!err) {
    console.log(c);
  }
});
> make test