Skip to content

mainehackerclub/HackerClubProjectOne

Repository files navigation

Hacker Club Project One

Features

  • Interactive D3.js visualizations.
  • Shared user experience - updates are sent to all web browsers in 'real-time'.
  • REST HTTP API server
  • Mongo database

Dependencies

Node Modules

  • npm install flatiron
  • npm install union
  • npm install mongojs
  • npm install socket.io

Instructions

  • Start the mongo database process:
    • sudo mongod
  • Create admin and regular user. See MongoDB documentation on how to do this.
  • Configure the environment with following variables:
    • MONGO_HOST localhost
    • MONGO_PORT 27017 (the default port)
    • MONGO_USER <regular user>
    • MONGO_PASS <regular user password>
  • Start the node server:
    • sudo node main.js

API Calls

This app is running live on Nodejitsu as hackerclub.jit.su. You can use the hostname hackerclub.jit.su instead of localhost. Then you will be interacting with the live data set.

About

My portfolio of experiments in with Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published