-
Notifications
You must be signed in to change notification settings - Fork 1
jrgleason/node-bullettrain
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a framework I am working on for Node.js based ecommerce Please be patient I am new to Node and it may take me a bit to get everything 100% Example A full integration example can be found here... https://simplecart-jgleason.rhcloud.com. Please remember this is in development Paypal Integration var paypal = require('bullettrain').use('paypal'); exports.addApp = function(appServer){ app = appServer; paypal.setApp(app) } exports.setExpressCheckout = function(req, res){ paypal.setExpressCheckout(req,res); } exports.getCheckoutDetails = function(req, res, next){ paypal.getCheckoutDetails(req,res,next) } exports.finalizePayment = function(req, res){ paypal.finalizePayment(req,res) } Mongo/RESTi(ish) Integration bullet = require('./lib/bullettrain').useRest('mongo') app.post('/rest/catalogentries', bullet.postCatalogEntry,routes.goHome); Google OAuth v2 (With ExpressJS) google = require('bullettrain').useInterface('google') google.setClientId(GOOGLE_CLIENT_ID) google.setClientSecret(GOOGLE_CLIENT_SECRET) app.get('/auth/google', google.requestCode) app.get('/auth/google/callback', google.callbackHandler, google.getUserInformation, routes.goHome)
About
This is a Node.js/Expressjs based Ecommerce Framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published