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).
- Clone the repo:
git clone firstname.lastname@example.org:sinfo/cannon-api.git
- Enter the directory:
- Install the dependencies:
- Set the environment variables used on
- Create the
cannon_uploaddirectories (if using the default config)
- Generate the the PEM RSA keys:
openssl genrsa -out keys/token.key 1024 openssl rsa -in keys/token.key -pubout -out keys/token.pub
- Start the server:
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
email@example.com to collect that cookie of yours.