Skip to content

Part 1. NodeJS Server

Rachel edited this page Sep 20, 2017 · 6 revisions

logo copy

Node.js is an event-driven JavaScript runtime, making it lightweight and ideal for intercepting non-HTTPS event data from a local network and relaying them over HTTPS. Read more about Node.js here.

Getting the server files on your Pi is as easy as git clone, but installing and running the server means we need to install Node. The most recent version of Node requires that your Pi's OS be upgraded to Debian Jessie, so we'll be walking through that, too.

We will also be setting some environmental variables for the port we want our server running on and our Initial State Access Key.

<< Part 1: Introduction - Part 1: Upgrade to Raspbian Jessie >>

Node.js is a trademark of Joyent, Inc. and is used with its permission. We are not endorsed by or affiliated with Joyent.