Questions tagged [strongloop]

StrongLoop is an API tier for connecting enterprise data to devices and browsers. It includes LoopBackJS, StrongOps, and StrongNode.

LoopBackJS: Open Source API Server powered by Node.js. LoopBackJS is a Node.js powered, an open source API server with built-in mobile services like push and geolocation. These services can be accessed via iOS, Android, and HTML5 SDKs with a variety of connectors to datasources including Oracle, MySQL, and MongoDB.

StrongLoop Arc: A graphical UI for the StrongLoop API platform that complements the slc command line tools for developing APIs quickly and getting them connected to data. Arc also includes tools for building, profiling and monitoring Node.js applications.

Links:

1287 questions
0
votes
1 answer

Strongloop: updateAttributes method id parameter is undefined

I'm implementing a connector for strongloop. I try to updateAttributes by calling PUT /api/entity/:id My connector's updateAttributes method is hit but the id parameter is undefined. myConnector.prototype.updateAttributes = function(model, id,…
taminov
  • 591
  • 7
  • 23
0
votes
0 answers

Saving through Thorough Model in Loopback

I have has many relation of 2 models via third through model in Loopback. My models are : Song Album Tracklist (- Thorough Model having songId & albumId as field.) How would I make request in Song model for relating album with it? What I have…
Sankalp
  • 1,300
  • 5
  • 28
  • 52
0
votes
1 answer

Access control in LoopBack

I am building an events management web app for my clients based on StrongLoop API platform whereby I need to limit CRUD access to data to the currently logged in user (a client). I have followed these tutorials…
0
votes
1 answer

strongloop loopback: how to add remote method to loopback-component-storage Container

I'm trying to add a new REST API method to the loopback-component-storage for downloading all photos from a Container. (see Strongloop loopback-storage-service: how to use StorageService.downloadStream() to download a ZIP of all photos in…
michael
  • 4,377
  • 8
  • 47
  • 73
0
votes
2 answers

Strongloop loopback-storage-service: how to use StorageService.downloadStream() to download a ZIP of all photos in container?

I'm using loopback-component-storage with the filesystem provider to upload photos. It works great. But now I have a request to 'export/download' photos to a zip archive. I've put together some code to add another method, downloadContainer() to…
michael
  • 4,377
  • 8
  • 47
  • 73
0
votes
2 answers

specifying bucket-name in loopback-component-storage for S3

I have hit a roadblock using the loopback-component-storage with Amazon S3. As a test, I am trying to upload a file to S3 from my browser app, which is calling my loopback API on the backend. My server config for datasources.json looks like: …
0
votes
2 answers

Data is returning with wrong response type in Loopback

Album->Tracklist<-Songs I have 3 Models. I have this sort of relationship. Means Album is related with Song and Song again is related with has Many relationship using through Model Tracklist. I wish to fetch records thats also I am succeeded, but…
Sankalp
  • 1,300
  • 5
  • 28
  • 52
0
votes
1 answer

Hide LoopBack PUT REST API method

How do I hide the PUT REST API method in LoopBack? I've been able to successfully hide many other methods, but not the PUT method. > $ slc -v strongloop v2.10.3 (node v0.10.35) ├── strong-arc@1.1.0 ├── strong-build@1.0.3 (5a43a57) ├─┬…
duffn
  • 3,690
  • 8
  • 33
  • 68
0
votes
1 answer

StrongLoop deployment

I want to install a service in AWS as below command since i have two apps needs to be hosted in the same server. I am able to deploy an app in the default service strong-pm. But when i try to create a new service as below sudo slc pm-install…
0
votes
2 answers

Error while creating a loopback application in strongloop

I have installed all the dependency for strongloop, e.g nodejs v0.12.0 and npm 2.5.1, and of course the strongloop using: npm install strongloop as its mentioned in their getting started page,and I can see the node_modules have been created for…
mquemazz
  • 763
  • 3
  • 12
  • 18
0
votes
0 answers

loopback external methods are slow

I have added a remote method to my Image model. Everything used to work well until i decided to update the loopback npm package. The remote method is very slow and I can see the following pending request in the network tab. I don't know what…
ppoliani
  • 4,792
  • 3
  • 34
  • 62
0
votes
1 answer

strongloops lb-ng fails in windows

I am going through the tutorial LoopBack/Getting started part II. Everything is happening as expected until I come to the "Create AngularJS client". When I try to execute (Windows 7): lb-ng server/server.js…
pd_uy
  • 51
  • 4
0
votes
0 answers

Strongloop query based on a json object value

I am working with StrongLoop to define restful API calls. My StrongLoop model looks like this: "MyTransfer": { "type": [ { "Fromamt": { "Amount": { "type": "number" }, …
0
votes
1 answer

How to install StrongLoop Loopback in Ubuntu 14.04?

What is the difference between apt-get install -g strongloop and apt-get install -g strong-cli ?
0
votes
1 answer

How to specify the methods and routes while creating REST API for a resource with loopback.io?

It appears that by default all methods (GET, PUT, POST, DELETE and HEAD) are enabled when a REST API is created for a resource. Is it possible to generate REST APIs only for a subset of these methods (for ex. only GET) ? Could you please point me to…
SubuKris
  • 71
  • 2