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 fails to install on Windows Server 2012 R2

Experimenting with strongloop. node version is v0.10.31 visual studio 2013 installed. npm install fails. this path look suspicious: node "c:\Program Files…
Bruce MacKenzie
  • 101
  • 2
  • 8
0
votes
1 answer

How to build API call volume-based charging model

I' looking into loopback.io for node API management. What I'm still unclear about is how to precisely monitor API calls per user/API key and connect a solution to a volume-based plan, e.g. "1 mio API calls/month free, then 0.01$ per 1000 calls".…
Florian
  • 271
  • 3
  • 14
0
votes
1 answer

What is proper way to wire some logic for built-in models

User is built-in model. Where to put models.User.on('deleted', function(id) { // some logic here }) common/models/user.js is not called for built-in User model.
Archer
  • 5,073
  • 8
  • 50
  • 96
0
votes
1 answer

Strongloop controller in cluster mode results in EADDRINUSE

I'm building an API with Strongloops's Loopback. I'm following this tutorial and so far it's working when I run the app with slc run However, if I try to run the app in clustered mode (to take advantage of a dual core server) the second process…
ffflabs
  • 17,166
  • 5
  • 51
  • 77
0
votes
1 answer

In StrongLoop: Putting a strict array (a schema) in a model property

I would like to create a model in StrongLoop that will look like the following schema: Item = { "Name": { "en": "", "ru": "", "fr": "" }, "Price": 0, "id": 0 } How do i put a strict schema inside a property ("Name")? Can i do it…
0
votes
1 answer

Using Loopback defined data relations from iOS SDk

With reference to http://strongloop.com/strongblog/defining-and-mapping-data-relations-with-loopback-connected-models/ if I have defined a relationship between a customer and an order so that an order belongsTo a customer, how can I get the…
user1480569
  • 101
  • 8
0
votes
1 answer

Can hook beforeUpdate/afterUpdate modify the value?

I have model call "point", I want to update field "updated" on point in every action update. So, I make hook boforeUpdate to modify updated with new Date(). In result callback is true, and updated fied is a new datetime. But not updated on db, the…
allfix
  • 52
  • 1
  • 5
0
votes
1 answer

How to integrate VoltDB with Strongloop

I am trying to use VoltDB with Loopback in my application. I cannot find a proper way to integrate it since there aren't any suppported connectors. Voltdb has a nodejs library (https://github.com/VoltDB/voltdb-client-nodejs). Any suggestios to use…
nish
  • 256
  • 6
  • 15
0
votes
2 answers

StrongLoop: hiding method updateAttributes()

I've managed to take out some of the predefined methods from my rest API using this code which I adapted from the documentation: var app = require('../app'); var News = app.models.News; News.create.shared = false; News.upsert.shared =…
kYuZz
  • 1,572
  • 4
  • 14
  • 25
0
votes
1 answer

strongloop send json object from own loopback to another server using http post

Can someone explain how this works, I have tried passing the data from my own server and send it to mysql. but my next task is to pass the json object to another serve using http post method here is the link:…
Vincent
  • 852
  • 6
  • 29
  • 67
0
votes
1 answer

ACLS not recognized

I'm following the sample app style of defining a json file in the models directory, along with a .js file to load the json. My problem is that the acls definitions in my json file, which denies the everyone role, is not being recognized. I am able…
Coder1
  • 13,139
  • 15
  • 59
  • 89
0
votes
1 answer

Bi-directional model reference strategy

In the case of relating 2 models, I'm not sure which model to add the reference to, or to add references to both. Take the auto generated models for example: The user model has a hasMany reference to accessToken, but the accessToken does not have a…
Coder1
  • 13,139
  • 15
  • 59
  • 89
0
votes
1 answer

gimme example to create model relations on StrongLoop

here i want to create model relations on StrongLoop. I have this kind of scenario: Category: id:1…
Gery
  • 573
  • 4
  • 18
0
votes
1 answer

Use StrongLoop to monitor NodeJS application in Linux via proxy

I am trying to monitor StrongLoop test application and get the following error: [root sls-sample-app]# slc strongops Generating strongops configuration requires a registered email and password. Visit http://strongloop.com/register if you have not…
YuriR
  • 1,251
  • 3
  • 14
  • 26
0
votes
2 answers

strongloop loopback slow learning curves

Kindly enlighten me of where should I really develop the code's written on this site. http://loopback.io/#gs I've been seeing the codes written on the web but I dont know where should I put these codes. This is my first time studying the strongloop…
Vincent
  • 852
  • 6
  • 29
  • 67