/ciphora-server

Discovery and signalling server for Ciphora

Primary LanguageJavaScript


Ciphora
Ciphora Server



Simple discovery and signalling (websocket) server for the Ciphora, a P2P E2E encrypted messaging app. Provides simple peer authentication through PGP. See src/schema/message.json for messaging format.

Development

JavaScript Style Guide

Setup

Clone the repo

$ git clone https://github.com/HR/ciphora-server.git

Install all libraries and tools

$ npm install

Create .env.json file with the required environmental variables

{
  "NODE_ENV": "development",
  "REDIS_URI": "..."
}

Run

To run it locally

$ gulp

The server should be running at http://127.0.0.1:9000