1.0.12 • Published 12 years ago

bullettrain v1.0.12

Weekly downloads
43
License
-
Repository
github
Last release
12 years ago

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)

1.0.12

12 years ago

1.0.11

12 years ago

1.0.10

12 years ago

1.0.9

12 years ago

1.0.8

12 years ago

1.0.7

12 years ago

1.0.6

12 years ago

1.0.5

12 years ago

1.0.4

12 years ago

1.0.3

12 years ago

1.0.2

12 years ago

1.0.1

12 years ago

1.0.0

12 years ago