riversideio / binto-api

An open source member signup and billing management API for coworking spaces.
5 stars 3 forks source link

Update to Hapi 6 #13

Open jcblw opened 10 years ago

jcblw commented 10 years ago

Hapi 6 has some cool new feature that can enable this project to be more modular. I think it should be considered.

jcblw commented 10 years ago

Im thinking that all of the assets we use like stripe, nodemailer, parse could be make as plugins.

var stripe = request.server.plugins.stripe;

To avoid any name spacing issues that may occur on the by directly adding it to the request object.

motdotla commented 10 years ago

That'd be rad. :+1: