@seedalpha/omega-ref
v0.2.14
Published
referral program module for seedalpha omega
Downloads
8
Readme
omega-ref
Referral program module for seedalpha omega, allow people to signup and refer friends to gain a better rank in the waiting list.
Environment variables
- DATABASE_URL
- SEED_DOMAIN
- MAILGUN_API_KEY
- MAILGUN_DOMAIN
- LINKEDIN_CLIENT_ID
- LINKEDIN_CLIENT_SECRET
- GA_KEY
- GOSQUARED_KEY
- GOSQUARED_SECRET
Installation and run
$ git clone [email protected]:seedalpha/omega-ref.git
$ npm install
$ npm start
Use as express middleware
var omegaRef = require('omega-ref');
var express = require('express');
var http = require('http');
var app = express();
app.use('/referral', omegaRef.middleware);
var server = http.createServer(app);
server.listen(process.env.PORT || 3000);
omegaRef.install(server);
Author
Marvin Lam [email protected]