Skip to content
Branch: master
Clone or download
Latest commit e269b41 Jan 7, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
server add missing server-sode myDelays support Dec 20, 2018
site add/improve site content Jan 4, 2019
spec make travis also build fluxfail/site container Jan 7, 2019
package.json move polyfil for fetch API to static assets Jan 7, 2019 Build Status


Install the dependencies with npm install

You will also need a running Postgres database.

Running the server

The server needs the following environment variables set:

  • SMTP_URL: Address for connecting to your SMTP server, including username and password as needed (example: smtp://localhost)
  • DATABASE_URL: Connection details for the Postgres database (example: postgres://postgres:@localhost/fluxfail)
  • APP_URL: URL where the client app is available (example:
  • JWT_SECRET: Secret string used for creating and validating client authentication tokens
  • PORT: The port you want the API server to listen on (example: 80)

Prepare the database with npm run migrate.

Then the server can be started with npm start.

Building the client

To build the client app, you need to first set an environment variable:

  • API_URL: URL where the server will be running (example:

Then build the client app with npm run build

The client can be served with npm run client.

You can’t perform that action at this time.