Label305/Auja

Node.js (+ mongoose) back-end

Opened this issue · 4 comments

Just want to let you know I'm working on a server side Node.js implementation. Will probably be compatible with Express 4+ and Mongoose 2.7+. Next to that, I'm working on a way to use the oauth2 flow to login with Auja.

Started to make some progress. Will be as easy as this:

var Auja = require('mongoose-auja');
var main = new Auja.main('Formide Admin’);
main.addButton('Logout', '/example/logout.json');
res.json(main.generate()); // res.json is used in Express

Awesome, let me know if you need anything, when ready we'll add it to our readme.

Mostly done: https://github.com/ChrisTerBeke/Auja-Node.js

Rewritten to Coffeescript (so we have nice objects now) and added some documentation. Todo's are at the bottom of the readme.