Aquila API and Web App server for the Hub.

Usage no npm install needed!

<script type="module">
  import aquilaServer from '';


Aquila Server

Aquila API Server and Web App for the Hub. Requires an Altair programmed as Bridge connected to the Hub.

This is part of the Aquila Internet of Things Plataform, for more info, see:

API documentation:

Note: This version is compatible only with version of May 2015 or newer of the Aquila firmware libraries. Please update your devices accordingly.



Update: Now, in Windows, you can use an installer that automatically install everything (except Visual Studio, you have to install it separately). Download it from here: Installer.

  1. Git and Git bash
  2. Python 2.7
  3. Microsoft Visual Studio C++ Express 2010 (Includes compilers needed for some dependencies when developing Node.js applications)
  4. Node.js
  5. MongoDB

Note: For any tutorial where we use the command line, we recommend using "Git Bash" instead of "cmd" from windows. "Git Bash" comes included with Git.


  1. Git
  2. Node.js
  3. MongoDB

Linux (Ubuntu / Debian)

  1. build-essential and git: sudo apt-get install build-essential git
  2. Node.js v0.12.7:
  3. MongoDB: sudo apt-get install mongodb


npm install aquila-server -g


  • Connect the Hub via USB

  • Start server:


    Or, with ssl (https):

    aquila-server --ssl

    Note: If you want to be really serious about security, you should first generate your own security keys, you can do this with the script included in this repository. Also, you should change your token secret, found in config/token.js.

  • Access the web App from any browser:

    From local machine:


    From other machine on the network:

    http://<your hub ip>:8080
  • Access the Admin interface (add users):

    http://<your hub ip>:8080/admin

    Default User: Admin, Password: Admin