Reputation: 1973
I'm trying to use Waterline in my express application but how do I configure the database connection? I would like to use sails-mongo as an adapter but I'm not sure how to do it. Can any one help me with this problem?
Thanks
Upvotes: 2
Views: 2278
Reputation: 2416
There is an example of using Waterline with Express in the Waterline Repo: https://github.com/balderdashy/waterline/blob/master/example/express/express-example.js
Upvotes: 2