Firebase connector

18 views
Skip to first unread message

Just Run Design

unread,
Apr 19, 2017, 1:29:03 PM4/19/17
to LoopbackJS
Hi,

I'm trying to connect my Api Loopback to my Firebase Datasource, that doesn't work! 

here are my datasources.json

"fb": {
        "firebase": {
 "username": "myuser",
 "password": "mypass"
        }
    },

and my model-config.json

"Product": {
    "dataSource": "fb",
    "public": true
  }

and I have that message error status 500 by POST / GET ...

"statusCode": 500,
    "name": "TypeError",
    "message": "Cannot read property 'connect' of undefined",

Do you have any idea, why? 

Reply all
Reply to author
Forward
0 new messages