node.js - how to install sails auth for manually configured mongoose ORM -


hi removed waterline orm sails js , added mongoose, followed steps specified in following link http://laurentschaffner.com/blog/from-waterline-to-mongoose-in-sails/ facing issues in installing sails-auth module can me out please.

i haven't tried install sails-auth have integrated mongoose sails in manner think more friendly blog link referenced. created gist here help:

gist: adding mongoose sails in manner binds promisified mongoose functions model.mongoose, preserves blueprints (auto-generated action routes), , importantly not remove waterline orm. note: code below uses es2015 sails-babel hook. https://gist.github.com/austinmao/83524cecd87ea1685b32


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -