This is a small web app to run a Super Bowl square site.
- Create Venmo developer credentials via the settings section on venmo.com
- From venmo you'll need:
- client Id
- client Secret
- callback url
- Install all the required node modules
npm install
from/server
- Install mongo on your host, this will be required to run the app.
- Replace the temporary values in the
server/config.js
file with your config values - Start the server
forever start SuperBowlServer.js
from/server
var config = {
// ----------- Venmo Config -----------
venmo: {
clientId: "1111",
clientSecret: "rwfkjfwelkfjweB82FzXNnKZe9AKHRvz3tv",
callbackUrl: "http://[yourdomain.com]/auth/venmo/callback"
},
// ----------- Mongo Config -----------
mongo: {
url: "mongodb://localhost:27017/superbowl",
host: "localhost",
port: 27017, // mongo db port
name: "superbowl"
},
// ----------- Box Config -----------
boxPrice: 10
sessionSecret: "someSecret"
};
module.exports = config;
You're going to need to change the callback url in your venmo settings depening on whether or not you are running in dev or in production.