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: can not set breakpoint in certain model.js files

I start the debugger with "slc debug" and Chrome starts up. I want to set a breakpoint on line 100 of report.js I can't do it. Won't let me. Any ideas why? In other file such as events.js I can click on the linenumber and the blue breakpoint…
user798719
  • 9,619
  • 25
  • 84
  • 123
0
votes
1 answer

strongloop: example of combining a where filter with an order filter?

In the docs Strongloop does not talk about a common condition: using a WHERE filter with a Order filter. Example: Customers WHERE name='John' ORDER BY 'birthdate' DESC LIMIT 5 Customers.find({where:{'userId':'John'},{order:'birthdate…
user798719
  • 9,619
  • 25
  • 84
  • 123
0
votes
1 answer

prestart scripts in Loopback

I need to create an ssh tunnel to connect to my database, so the logical point would be to add the shell command in package.json under scripts/prestart. However, as it seems, slc run does not execute this script, npm start does, but of course…
Svarog
  • 2,188
  • 15
  • 21
0
votes
1 answer

Strongloop loopback: how to set up a model to store multimedia?

Could someone give me an example of a model named "Multimedia.json" that I could use to store uploaded multimedia files (audio, video, or jpg)? Specifically, is there a type called "multimedia" or "binary"? Any strategies the Strongloop…
user798719
  • 9,619
  • 25
  • 84
  • 123
0
votes
1 answer

StrongLoop API Explorer Refresh

I've setup stongloop on an ec2. Everything is running well. I can access the api explorer. I use Strong Arc composer to discover models in the local mysql db, and make them public. I can see the exposed model on the file model-config.json in my app…
Phillux
  • 33
  • 6
0
votes
1 answer

findOrCreate in PersistedModal

I am using loopback. I wish to create record if it doesn't exist. I used Modal.findOrCreate method to maintain uniqueness but its showing me error of findOrCreate is not a function but Docs show it is. What I tried was. Poet.findOrCreate({where:…
Sankalp
  • 1,300
  • 5
  • 28
  • 52
0
votes
2 answers

Loopback: Cannot call Notification.create(). The create method has not been setup. The PersistedModel has not been correctly attached to a DataSource

I am using Loopback and the push component. When calling Notification.create() I get the error: Cannot call Notification.create(). The create method has not been setup. The PersistedModel has not been correctly attached to a DataSource! I'm just…
user798719
  • 9,619
  • 25
  • 84
  • 123
0
votes
1 answer

From which file do I send a push notification in strongloop?

I am trying to set up push notifications with strongloop. I don't understand which file the code below lives in. The docs don't say, which is confusing for newbies. I understand that I have to add a push component to loopback restful api…
user798719
  • 9,619
  • 25
  • 84
  • 123
0
votes
1 answer

LoopBack Automigrate Call Order

I am using LoopBack auto migrate to create MySQL database tables from models during app boot. My Account model define a hasAndBelongsToMany relationship with my Credit model, and visa versa. I am trying to create a credit in account, but I get an…
Mozfet
  • 359
  • 3
  • 12
0
votes
1 answer

How to create relationship using Strongloop strong arc?

How can I create relationships via slc or by directly editing models in a text editor? I could not find a way to do so using strong arc composer. Does this feature exist?
Pankaj Bodani
  • 303
  • 2
  • 8
0
votes
2 answers

Strongloop How to config mysql timezone?

I'm a greenhand for strongloop. My datasources.json config is as follows: "platformDB": { "host": "localhost", "port": 3306, "database": "way", "username": "root", "password": "root", "name": "platformDB", "connector": "mysql" }, and UserAccount is…
范耀武
  • 1
  • 2
0
votes
1 answer

Memory occupied by my Application keeps increasing with time in strongloop loopback application

Memory occupied by my Application keeps increasing with time in strongloop loopback offline sync application https://github.com/strongloop/loopback-example-offline-sync Also it creates many sub folders and a file in these sub folder named as…
Rizwan Haider
  • 167
  • 2
  • 17
0
votes
1 answer

StrongLoop Framework - Access-Control-Allow-Origin: *

I have an AngularJS / Strongloop project. The AngularJS part of the code is not hosted at the same location as the Strongloop project and as a result I'm running into a CORS issue. I have done a lot of reading on this issue, however I can't figure…
Ryan
  • 165
  • 1
  • 11
0
votes
1 answer

$scope doesnt update on change

I am trying to update my view on button click, but I am doing something wrong. Console is showing that my array is just like I want it to be, but my ng-repeat list is not updating. HTML:
neeev
  • 23
  • 8
0
votes
1 answer

Using the http.path property in model defintion

The model I have created has this url: http://localhost:3000/api/Employees Now if I set the http property like this: "http": {"path":…
SubuKris
  • 71
  • 2