remove loopback client files

This commit is contained in:
Berkeley Martinez
2015-07-25 08:51:41 -07:00
parent 227e486fdc
commit 38cb4b2873
9 changed files with 21 additions and 117 deletions

View File

@@ -1,3 +1,4 @@
This is the entry point for the client
Code that should only run on the client should be put here.
NOTE(berks): For react specific stuff this should be the entry point

View File

@@ -1,8 +0,0 @@
{
"restApiRoot": "/api",
"remoting": {
"context": {
"enableHttpContext": false
}
}
}

View File

@@ -1,5 +0,0 @@
var globalConfig = require('../common/config.global');
module.exports = {
restApiRoot: globalConfig.restApi
};

View File

@@ -1,10 +0,0 @@
{
"remote": {
"name": "remote",
"connector": "remote"
},
"local": {
"name": "local",
"connector": "memory"
}
}

View File

@@ -1,7 +0,0 @@
var globalConfig = require('../common/config.global');
module.exports = {
remote: {
url: globalConfig.restApiUrl
}
};

View File

@@ -1,8 +0,0 @@
var loopback = require('loopback'),
boot = require('loopback-boot');
var app = loopback();
boot(app, __dirname);
module.exports = app;

View File

@@ -1,32 +0,0 @@
{
"_meta": {
"sources": [
"../common/models",
"./models"
]
},
"user": {
"dataSource": "remote"
},
"bonfire": {
"dataSource": "remote"
},
"challenge": {
"dataSource": "remote"
},
"comment": {
"dataSource": "remote"
},
"fieldGuide": {
"dataSource": "remote"
},
"job": {
"dataSource": "remote"
},
"nonprofit": {
"dataSource": "remote"
},
"story": {
"dataSource": "remote"
}
}