Skip to content

Instantly share code, notes, and snippets.

@fusionstrings
Last active August 29, 2015 14:02
Show Gist options
  • Save fusionstrings/0d28067572ce4f8f43de to your computer and use it in GitHub Desktop.
Save fusionstrings/0d28067572ce4f8f43de to your computer and use it in GitHub Desktop.
Loopback Storage API datasource setup
{
"memory": {
"defaultForType": "memory",
"connector": "memory"
},
"push": {
"defaultForType": "push",
"connector": "loopback-push-notification",
"installation": "installation",
"notification": "notification",
"application": "application"
},
"mail": {
"defaultForType": "mail",
"connector": "mail"
},
"db": {
"defaultForType": "db",
"connector": "mysql",
"host": "host-url",
"port": 3306,
"database": "database-name",
"username": "database-user-name",
"password": "database-password"
},
"storage": {
"defaultForType": "storage",
"connector": "loopback-storage-service",
"provider": "amazon",
"key": "your amazon key",
"keyId": "your amazon key id"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment