loopback-example-database
loopback-example-database copied to clipboard
A tutorial for basic database related features.
When using API Explorer everything works fine, but when using Angular SDK none module allow delete method with destroyById() function loopback:connector:mysql Data: +2ms [ { id: 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', ttl: 999999999, created:...
I'm trying to run this demo but is showing this error: Browser error: { "error": { "name": "Error", "status": 404, "message": "Shared class \"account\" has no method handling GET /",...
The models have a lastModifiedAt field, but I can't see any code that updates this field when a row is updated.
and on failure to listen, it doesn't tell you which port was in use (I know its 3000, others might not).
When I connect 'Review' model of this example to mongodb datasource, this example is disconnected with mongodb server. mongodb servers' logs are the followings. ``` 2014-12-27T15:52:05.829+0900 [initandlisten] connection accepted from...
Does the MSSQL example truly work, or is it theoretical? (can one actually connect to mssql.strongloop.com:1433 ?) I got the following error when trying the discovery app: ``` [~/Desktop/Temp/loopback-example-database/server on...
I'm attempting to use a the following model but when I attempt to perform a 'GET' (Find all instances of the model matched by filter from the data source) I...
Response for `http://127.0.0.1:3000/api/accounts` is: ``` true [email protected] 2014-10-23T23:18:08.207Z 2014-10-23T23:18:08.207Z 1 false true [email protected] 2014-10-23T23:18:08.207Z 2014-10-23T23:18:08.207Z 2 false ``` I don't see where to specify response data type and from http://docs.strongloop.com/display/LB/Exposing+models+over+a+REST+API...
I am sure my dataSource may connect db successfully, and I log the informations to debug the code, and I log the result output at last: -----------------create-test-data.js content------------------------- var app...
On the homepage at http://loopback.io/ there is a nice, brief, example of creating a project with model and API explorer. Structure site_root/ - client - common - node_modules - server...