ginad
ginad

Reputation: 1973

How to use waterline outside sails?

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

Answers (1)

particlebanana
particlebanana

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

Related Questions