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

AngularJS $scope is not updating but returns 'digest already in progress'

I am trying to create new object and insert it in database, but also show it on my page immediately. Here is my function for showing all the questions on the page: $scope.questions = Question.find({ filter: { order: 'timestamp DESC', …
neeev
  • 23
  • 8
0
votes
1 answer

Getting 401 (Unauthorized) when deleting data from loopback?

I'm having a model called companyUsers when I make a GET request I get all the companyUsers data. But when I make a DELETE or PUT request I get 401 (Unauthorized) error. I made a DELETE request by method provided by loopback-angularjs-sdk like…
Sparsh Pipley
  • 451
  • 8
  • 22
0
votes
1 answer

How do I implement custom dynamic roles in loopback?

I am trying to create a dynamic role in loopback similar to the one in the example project on access control. I have two models called Documents and Teams. Each team owns multiple Documents and I have several teams. I want to restrict CRUD access to…
0
votes
0 answers

Dual belongsTo relations with loopback

I have a couple relations I want to model, A Message belongs to 2 Profile's (a sender and a recipient) An Enrollment consists of a Profile and a Curriculum. I tried to do #1 using 2 hasOne but ended up with Profile.messageId. { "name":…
broinjc
  • 2,619
  • 4
  • 28
  • 44
0
votes
0 answers

Getting errors while installing strong loop on my windows 7 environment

I am trying to get StrongLoop working on my Windows 7 machine. I installed it with npm install -g strongloop It threw some python errors, which seems to be expected and then execution finished. I did the npm install npm step as indicated here:…
SPR
  • 33
  • 1
  • 3
0
votes
1 answer

Loopback getting 401 when accessing the current user

I'm using loopback with the angular sdk on the front-end. I want to get the information about the logged in user; so I do the following: User.getCurrent() .$promise .then((currentUser) => console.log(currentUser)); but the server…
ppoliani
  • 4,792
  • 3
  • 34
  • 62
0
votes
1 answer

Complicated relationship with 2 Thorough Models

I have complicated relationship that includes 2 thorough models. I want to create custom method that solves my purpose. I have MySQL DB as datasouce. 3 Main Models. Artist, Album, Songs. Album and Song are related 2 each other with N:N relationship…
Sankalp
  • 1,300
  • 5
  • 28
  • 52
0
votes
1 answer

How to sort data using the AngularSDK in Stronloop?

I've been trying to sort data from strongloop using a call from angular controller. angular.module('fsbs') .controller('LocationCtrl', ['$scope', '$state', '$window', 'Location', function ($scope, $state, $window, Location) { …
Anoop Thiruonam
  • 2,567
  • 2
  • 28
  • 48
0
votes
3 answers

How to restrict access to pages when using Angular and Strongloop?

Strongloop/loopback has built-in ACL to restrict access to properties and functions. My question is, when using AngularSDK, is there a proper way to restrict access to pages? How can the authorization status be checked in the front-end? I'm using…
Anoop Thiruonam
  • 2,567
  • 2
  • 28
  • 48
0
votes
1 answer

How to use Strongloop-pm on Heroku for loopback-based nodejs applications

I have deployed a Nodejs app (Strongloop Loopback) into a Heroku dyno following the strongloop add-on instructions. When my process dies because of some internal application error, it does not restart. I would like to have strongloop-process manager…
Javierfdr
  • 1,122
  • 1
  • 14
  • 22
0
votes
1 answer

Model relationship - loopback ORM

How to connect models created in loopback and fetch the associated data? configuration: model1 *has many* model2 model2 *belongs to* model1 I did build has many using slc loopback:relation and the model1 and model2 are connected but failed to show…
Vinay
  • 548
  • 2
  • 12
0
votes
1 answer

strongloop pm node does not start on fail

We have installed node & strongloop on the server. We have also installed strong-pm. But we are not able to graceful restart. If node goes down it does not restart automatically by strong pm. Is there any log file generated where I can see the…
Mahen Nakar
  • 376
  • 2
  • 15
0
votes
1 answer

Get user access tokens and authenticate request

I believe to have spent many hours on decoding this box of pendora by strongloop REST framework for NodeJS. I have successfully managed to setup a two factor authentication module following the tutorial. That is working fine, with mongo setup as…
faizanjehangir
  • 2,771
  • 6
  • 45
  • 83
0
votes
1 answer

How to retrieve the latest created record using loopback api and angularjs

Below is my Modal controller. Se_chnl and Se_segn_rqst are the Loopback models. I'm initializing the modal form in the first step. The $scope.Se_chnl_find() is getting me a list from the backend which I load as a dropdown menu in the modal. This…
Amit S
  • 19
  • 3
0
votes
2 answers

how to get specific property name via rest call in strongloop loopback

I am having students model in loopback which is accessible via rest using this url. /api/students rest call gives all the student data but I want to get only the registration numbers (regno) of students. Like in sql (SELECT regno FROM students). how…
Rizwan Haider
  • 167
  • 2
  • 17