Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple demonstration of using nodeJS integration module in custom Drupal modules.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 swapit_demo.client.js
Octocat-spinner-32 swapit_demo.info
Octocat-spinner-32 swapit_demo.module
README.md

SwapIt Demonstration

This module is a simple demonstration of how to build a custom module utilizing the nodeJS integration module. For more information on how this module works check out Module Development with Drupal and NodeJS. The example code in the post is taken directly from this module.

Setup

  1. Install and enable the nodejs integration module along with the appropriate node server configuration.
  2. Enable the swapit demonstration module.
  3. Make sure your node server is running.
  4. Go to mysite.com/swap and check it out! Use a couple of sessions to see the node-ey goodness.
Something went wrong with that request. Please try again.