Skip to content

HR/spacedrop-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Spacedrop
Spacedrop Server



Simple discovery and signalling (websocket) server for Spacedrop (https://github.com/HR/spacedrop), a P2P E2E encrypted file-sharing app. Implements simple peer authentication. See src/schema/message.json for messaging format.

Development

JavaScript Style Guide

Setup

Clone the repo

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

Install all libraries and tools

$ npm install

Create .env.json file with the required environmental variables

{
  "REDIS_URI": "..."
}

Run

To run it locally

$ gulp

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