isomorphic-react-relay-boilerplate icon indicating copy to clipboard operation
isomorphic-react-relay-boilerplate copied to clipboard

Where does 'db' comes from?

Open enbits opened this issue 8 years ago • 1 comments

Hey, thanks for this amazing boilerplate. This is not an issue but more like a question:

In Project.js file you import a 'db' module, but I can't find it anywhere, where does it comes from?

https://github.com/xpepermint/isomorphic-react-relay-boilerplate/blob/master/storage/models/Project.js#L2

enbits avatar Mar 27 '16 14:03 enbits

You've probably figured it out by now but db comes from /storage/index.js, which exports Sequelize(uri)

jj117 avatar Aug 17 '16 18:08 jj117