Collaborizm Hack Box

Collaborizm Hack Box

0 Contributions Made
0 Milestones
This project is on ICE!
Heat this project up by pinging the project leader to make a new post and get things moving!
Ranjan DailataApplication Architect/Lead Developer
Richard Brown
Sanjay Vadhaiya
Nahid Hossain
Sponsor This Project

$10 - Sponsor and Pre-order Collaborizm API Adapter

Live Demo


Project Overview

The “Collaborizm Hack Box” is a unique program developed to consume and expose Collaborizm API. The key idea is to develop or implement an Adapter that can interact with the Collaborizm API.

You will be seeing a Node.js custom Adapter using the possible Collaborizm API’s. We are going to exercise the public and private API endpoints.

Teammates & Contributors I’m Looking For

I am looking for innovative and expert Dev’s who can collaborate and extend the project.

Where I Need the Most Help

I need your help in reviewing and providing valuable feedbacks.

Why Sponsor This Project?

Sponsor’s will get an early access to API’s and also hands on experience in using the Collaborizm API. One can use the program to gain knowledge and implement Apps for Collaborizm.

What’s in it for people who join?

Team mates will learn and have fun in developing this project.

Why I’m Passionate About This Project

I am passionate to learn and expose the Collaborizm API.

Supporting Material & Info

Collaborizm Search Widget built using Algolia Search API

Mixpanel Related

I wanted to introduce you to the Collaborizm Mixpanel. The idea is simple, I wanted to let you guys know the underlying tracking, eventing etc. done here in Collaborizm. Please take a look into this project for more info - https://www.collaborizm.com/project/ryxRzTcIe

Loggly API

Loggly being an interesting logging API that Collaborizm is making use of. It’s a cool and easy to use library and kind of must to have it. Please take a look into this project for more information - https://www.collaborizm.com/project/H1BP2s8Oe

Collaborizm API Adapter

I am going to showcase and present you the Collaborizm API Adapter fully coded using Node and Express.js. Guys who are new to Node.js must be highly excited on how the technology works. Like I said, an Adapter is used to extend and build the Collaborizm API. Underlying, it’s still using all the Collaborizm API’s.

You would ask yourself, what are we getting with the API? The answer to this is, An Adapter is built with an extension in mind, today it’s using all the cool public and some private API’s like Algolia Search, Loggly, Mixpanel etc. you are free to extend the capabilities.

Why Node.js?

The primary reason why Node.js is being used is “Cross Platform”. Here’s the mantra, develop something that is cross platform, reusable and extensible.

Running Mixpanel on Raspberry PI

I am using Filezilla to connect and upload Mixpanel node.js code on to Raspberry PI. Here’s the screenshot of the program running on PI.

Loggly API

Let us play around with the Collaborizm Loggly API. Below, you see how the API endpoint can be testing using Chrome Postman tool.

Loggly is an elegant, easy to use library. Do you know Collaborizm is making use of it for some of it’s logging.

Here’s the Loggly dashboard info.

Some code snippets

App Showcase

Code snippet

Underlying code is Node and Express.js. Here’s portion of code snippet.

var express = require('express');
var path = require('path');
var favicon = require('serve-favicon');
var logger = require('morgan');
var cookieParser = require('cookie-parser');
var bodyParser = require('body-parser');

var index = require('./routes/index');
var collaborizmAPI = require('./routes/collaborizmAPI');
var loggly = require('./routes/logglyHelper');

var app = express();

// view engine setup
app.set('views', path.join(__dirname, 'views'));
app.set('view engine', 'hbs');

// uncomment after placing your favicon in /public
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
app.use(bodyParser.urlencoded({ extended: false }));

	express.static(path.join(__dirname + '/public')));

	express.static(path.join(__dirname + '/public/stylesheets')));

	express.static(path.join(__dirname + '/node_modules')));

app.use('/', index);
app.use('/api', collaborizmAPI)
app.use('/api/log', loggly)

// catch 404 and forward to error handler
app.use(function(req, res, next) {
  var err = new Error('Not Found');
  err.status = 404;

// error handler
app.use(function(err, req, res, next) {
  // set locals, only providing error in development
  res.locals.message = err.message;
  res.locals.error = req.app.get('env') === 'development' ? err : {};

  // render the error page
  res.status(err.status || 500);

module.exports = app;

Data mashups.

Let’s us see how we can play around with the data and do some mashups. I am using gmaps for plotting maps by Collaborizm user API location info.

Discuss Collaborizm Hack Box

Start a discussion...
Chat with us!
Write something before you submit it!
Photo updated
Request Sent!
Copied to Clipboard