CleverStack / clever-auth

CleverStack Authentication Module
cleverstack.io
MIT License
18 stars 4 forks source link

Clever-auth with MongoDB #2

Closed telemakhos closed 10 years ago

telemakhos commented 10 years ago

Is it possible to use mongo as the db? How should I proceed and where do I configure this option? I haven't found info about this in the docs and looks like it is all configured by default to use sequelize...

Thanks!

pilsy commented 10 years ago

You are correct that by default it comes out of the box to use the ORM (SQL) module which uses SequelizeJS.

It is possible to use the ODM (NoSQL, which uses MongooseJS) Module with the clever-auth module however i have not added this code into a commit as it has a few key places that are buggy or don't work.

I will use this ticket as the basis to keep track of my work on merging and updating + committing the ODM changes, ill take a look at this tonight with the aim of having code merged into master within the next few days for you.

telemakhos commented 10 years ago

That'd be cool! thanks!

pilsy commented 10 years ago

Closing this ticket, the features are in PR #3 - please use that ticket for comments/tracking etc...