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

Inserting data with relations into Strongloop application

I have a Strongloop application using MongoDB. I have a model with several sub-models, using relations. When I try and insert an object into the database, only the top level data is added. All the related data is ignored. How do I get an entire…
bteres
  • 609
  • 4
  • 14
0
votes
1 answer

Unable to get strong-remote example to work

I'm trying the example: https://github.com/strongloop/strong-remoting/blob/master/example/simple.js When I invoke the curl, I get: curl: (52) Empty reply from server and the node program exits…
SubuKris
  • 71
  • 2
0
votes
2 answers

Syntax error in loopback api gateway

I am following a tutorial :http://strongloop.com/strongblog/node-js-loopback-api-gateway-sample-applications/ and I am getting an error in the code underneath the Proxy heading in the link mentioned above. Code against the error is var proxy =…
Sameel
  • 115
  • 1
  • 2
  • 14
0
votes
1 answer

What is a good StrongLoop/GitHub continuous integration pipeline?

What is a good workflow for developing sites with strongloop and github/bitbucket, for sending your project to testing and then production? I see the individual ingredients for a really solid workflow, but am curious to see what has been done to…
THX1137
  • 903
  • 6
  • 15
0
votes
1 answer

Strongloop loopback. Cannot add User instance from explorer

I've created a model (slc loopback:model customer), done 'slc run', and browsed to http://localhost:3000/explorer/. I see both 'customer' and 'User' models. But I cannot figure out how to add an instance to the User model. I select 'Users->Post…
nodeNewbie
  • 15
  • 1
  • 6
0
votes
1 answer

Loopback, AngularJS and validation

I followed this tutorial to create a project with Loopback and AngularJs. https://github.com/strongloop/loopback-example-angular Now, I have an application with: HTML files (with Bootstrap) AngularJS controllers AngularJS service (generated with…
hugo
  • 1,829
  • 1
  • 18
  • 47
0
votes
2 answers

Loopback unauthorized request when trying to login

I have created a custom user model that inherits form the built-in User model. Then I added a boot script that creates a default user. User.create([{ username: 'admin', email: 'email@email.com', password: 'admin' }],…
ppoliani
  • 4,792
  • 3
  • 34
  • 62
0
votes
1 answer

What is Loopback REST API to update 'through' model instance?

when relation of two models is defined as 'hasManyThrough', how to update 'through' model instance created as linking instances of two models? For example, it assumes that models are defined like the followings. common/models/physician.json { …
YunchanCho
  • 31
  • 3
0
votes
1 answer

Why loopback-component-oauth2 include oauth2orize's source code totally?

I am testing loopback component to use it to make my product. Currently, loopback-component-oauth2 has oauth2orize source code in its source directory. As you know, oauth2orize is a node library that implements details of oauth2 protocol. I think…
YunchanCho
  • 31
  • 3
0
votes
1 answer

Key mismatch on column with value 0

Firt of all, thank you for using your time and reading my question. Secondly, I would like to receive some help from you to fix a relational error with two entities in loopback. The error I'm facing is the next one; Key mismatch:…
cabolanoz
  • 304
  • 1
  • 9
0
votes
1 answer

How to expose the Application model's register method

For context, I am creating a base REST API application using Loopback, and I intend to use the User and Application built-in models to start with. Since each User will have Applications under his/her name (which I registered using $> slc…
Arbie Samong
  • 1,195
  • 1
  • 15
  • 17
0
votes
3 answers

Loopback 2.8: Check user status before every request to api

I need to check user status before every request to api and return 403, if it's inactive user. I tried to perform check in wildcarded beforeRemote, but I have to register it for every model to which I want restrict access. Also it's possible to…
IvanZh
  • 2,265
  • 1
  • 18
  • 26
0
votes
1 answer

Nodejs/Strongloop: working upstart config example

After update strongloop to v2.10 slc stops writing logs. Also I couldn't make the app to start in production mode. /etc/init/app.conf #!upstart description "StrongLoop app" start on startup stop on shutdown env NODE_ENV=production script …
IvanZh
  • 2,265
  • 1
  • 18
  • 26
0
votes
2 answers

Angular & Loopback multiform POST not working, why?

I have a loopback API backend with a storage service which stores the images and form data I send. Testing the API on its own everything works so it it obvious something is missing in my logic in my controller. I use angular-file-upload & code from…
Emmanuel Henri
  • 153
  • 3
  • 27
0
votes
1 answer

How do I emit xml without the JSON escapsulation from Loopback

I am using Strongloop's loopback product. Within a remote method of a model, I need to generate an RSS feed. The "rss" node.js package is what I am using - does all that I need. However, if I return the XML to the remote method callback, the XML…
johnmac
  • 166
  • 1
  • 7