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
2 answers

ACL allowing admin not being searched

I'm trying to adapt what I learned from the access control examples into a really simple api that right now has an admin user account that can log in and create a "publication". I am able to log the user in and get an access token, however, when I…
JaredMcAteer
  • 21,688
  • 5
  • 49
  • 65
0
votes
1 answer

How to design an abstraction model in Loopback

I have an application where I need to aggregate data of a similar (but not identical) structure from multiple sources, aggregate it, and present it via a REST API. To use an analogy, say I want to aggregate information from multiple sources of…
johnmac
  • 166
  • 1
  • 7
0
votes
2 answers

How to use jsonschema for Loopback remoteMethod?

In my app I want define JSON schemas for custom API. For example from: http://docs.strongloop.com/display/public/LB/Remote+methods#Remotemethods-Example module.exports = function(Person){ Person.greet = function(msg, cb) { cb(null,…
estin
  • 3,051
  • 1
  • 24
  • 31
0
votes
1 answer

Using Docker/Fig with StrongLoop

I'm having a problem using Docker/Fig to set up StrongLoop. 'slc run' works locally but it runs into an error when I run 'fig up' I have a very basic fig file: web: build: . command: slc run volumes: - .:/srv/data ports: -…
dmathewwws
  • 271
  • 2
  • 12
0
votes
2 answers

Hooks afterUpdate and afterDestroy not called

My goal is to send some request after certain model was created, updated or deleted. So I implemented the following: module.exports = function(TerminalUser) { var http = require('http'); var tsReloadUser = function(id) { var options = { …
ragn
  • 55
  • 1
  • 8
0
votes
1 answer

Does strongloop API server allow only one REST application per server instance?

I am new to node.js and strongloop. After having tried out strongloop on windows , i could get one Application[REST Loopback service] associated to one running node instance[PID associated]. Starting another application on a different port starts…
wajid mehraj
  • 263
  • 3
  • 14
0
votes
1 answer

how to filter inside Included model using Looback REST URL?

I want to do include with filters based on REST REQUEST. Something like : Albums?filter=[include][favorites]&filter[where][favorites.type]=abc I am using MYSQL connector.Any help would be greatly appreciated. Thanks
Faouzi
  • 1
  • 2
0
votes
1 answer

Define unique key strongloop model

How can i make the Unique key as a combination of 3 columns in loopback model The model structure is like "properties": { "year": { "type": "number", "required": true }, "user_id": { "type": "number", "required": true }, "leave_type_id":…
Sebastian
  • 4,625
  • 17
  • 76
  • 145
0
votes
1 answer

Strongloop tutorial running error

I am going through the Strongloop documentation. In the tutorial Add a client app I followed the steps that are given. I am able to run the app with slc run without error. But when checked in the browser there is error that angular is not defined in…
Gagan
  • 1,267
  • 3
  • 18
  • 28
0
votes
1 answer

How do I set the built in 'Users' to use a datasource using loopback?

I want to set the built in user model to use a MySQL server for data storage. But I am not sure how to migrate over, I have this snippet in model-config.js: "User": { "dataSource": "db" }, "AccessToken": { "dataSource": "db", "public":…
0
votes
1 answer

Return from a beforeRemote

I have two questions regarding "beforeRemote" method of loopback- How do I get hold of model methods inside beforeRemote method? I mean inside beforeRemote I want to invoke (lets say) "upsert" method of the model. How do I return invocation from…
Jahid Shohel
  • 1,395
  • 4
  • 18
  • 34
0
votes
0 answers

Strongloop installation are not finished

I try to install Strongloop with npm install -g strongloop command. But during the installation procces it stoped on moment bellow. Another globally packages are installed without a problems. . Is there any ideas why it can be?
Ishikawa Yoshi
  • 1,779
  • 8
  • 22
  • 43
0
votes
2 answers

loopback component push save push model into database

is there any way to save the Models which extends Push (Push as base) . Like I want to save the push model into database after I have sent a push notification. thanks.
Shahriar
  • 825
  • 1
  • 15
  • 31
0
votes
1 answer

LoopbackJS - How to define the entry point for the client application?

I'm trying to create a loopback project, in which the client application will load in localhost:3000. So I defined in server/server.js: var path = require('path'); app.use(loopback.static(path.resolve(__dirname, '../client'))); Where client is the…
Ana M
  • 657
  • 6
  • 9
0
votes
1 answer

Delegating afterRemote() to related class in Strongloop Loopback

With my Loopback project I have a model (ModelA) which references a property of type ModelB. For example (from common/models/modela.json): "relations": { "modelbs": { "type": "hasMany", "model": "ModelB", "foreignKey":…
doublemarked
  • 1,920
  • 1
  • 13
  • 10