Skip to content
💣 Only a few know what it shoots.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
server
.gitignore
.jshintignore
.jshintrc
.travis.yml
LICENSE
README.md
config.js
package.json
yarn.lock

README.md

cannon-api

Build Status Dependency Status devDependency Status

The Cannon API is (like the name leads you to believe) an API being built at SINFO so that our attendees, sponsors and speakers may have the top notch experience they deserve.

Entirely based in hapi.js with love!

Built using MongoDB (which must be installed and running to run the API).

Installation:

  1. Clone the repo: git clone git@github.com:sinfo/cannon-api.git
  2. Enter the directory: cd cannon-api
  3. Install the dependencies: npm install or npm i
  4. Set the environment variables used on config.js
  5. Create the keys and cannon_upload directories (if using the default config)
  6. Generate the the PEM RSA keys:
openssl genrsa -out keys/token.key 1024
openssl rsa -in keys/token.key -pubout -out keys/token.pub
  1. Start the server: npm start

Note: If you've managed to break our awesome API you definitley deserve a cookie! So open a Issue/PR or drop us a line at devteam@sinfo.org to collect that cookie of yours.

You can’t perform that action at this time.