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

Customizing User built-in Model validation

I'm looking for a way to customize the validation for the built-in User Model. The objective is to be allow users to register an account with the same e-mail but different username. I've tried to override the Setup Method for the User Model to…
aascensao
  • 13
  • 2
0
votes
1 answer

Accessing User methods from REST API

i defined a user model that inherits from the built-in User model of loopback and i defined a hasMany relation to another model. The problem i am facing is that no matter what i do, when i am trying to access the relation from the rest api i am…
Roi Ezra
  • 506
  • 1
  • 5
  • 11
0
votes
1 answer

Strongloop Studio not working well

I'm having some trouble with Studio Beta. It's not retrieving my models correctly and I'm getting this error from my browser console: TypeError: Cannot read property 'dataSource' of undefined at Array.
Aaron Lee
  • 362
  • 1
  • 5
  • 11
0
votes
1 answer

Loopback: getting model changes inside model hook

On model PUT, I need to make custom validation, based on its original value. Inside beforeUpdate model hook I can access 'next' function, 'request body' object (as beforeUpdate arguments) and updated model itself via 'this' keyword. Is there any way…
IvanZh
  • 2,265
  • 1
  • 18
  • 26
0
votes
1 answer

I need a strongloop example wrote in javascript without angular

I want to have a strongloop example only using javascript without angular. There's no complete working example without angular for now. I want to simply include the browser.bundle.js in my index.html, then sync data from/to server side. In fact, I'm…
codsimba
  • 67
  • 6
0
votes
0 answers

Strongloop LBModel Update Array in iOS

I want to update an array of strings that is inside of a LBModel, I can only think of using the saveWithSuccess method, but it is not working, how can I update an information in Loopback's iOS SDK?
C. Porto
  • 631
  • 3
  • 12
  • 26
0
votes
1 answer

Can loopback use indexeddb for offline sync?

I started using loopback to create an API server. It has offline sync capability built in. Can loopback framework use indexeddb for offline sync?
0
votes
1 answer

Loopback LBUser Inheritance iOS

I've managed to save LBUser to my mongodb that's running on a server, but I wasn't able to save a class that inherits from LBUser, I just want to know if someone managed to extend LBUser or if it is really something not possible to do right now with…
C. Porto
  • 631
  • 3
  • 12
  • 26
0
votes
1 answer

strongloop REST API filter where like clause. is it possible to make it case insensitive

Hello I'm new to loopback and i'm trying to create a REST query filter like this that ignores casing: /api/customers?filter[include]=profiles&filter[where][Name][like]=Com This above works perfectly as long as the person uses the proper casing. I…
0
votes
1 answer

Receive CSV format in Strongloop

I'm trying to receive some data in csv format, what I read is that StrongLoop only works with json data. So can I receive csv and transform to json to process the data? Thanks.
Diego
  • 493
  • 1
  • 9
  • 26
0
votes
1 answer

Strongloop iOS User Creation Error

I'm trying to create and save a test user in server with this code: LBRESTAdapter *adapter = ((AppDelegate *)[[UIApplication sharedApplication] delegate]).adapter; if (adapter) { TeacherRepository *repo = (TeacherRepository…
C. Porto
  • 631
  • 3
  • 12
  • 26
0
votes
1 answer

Strongloop error in slc loopback command

I've installed Strongloop in my Digital Ocean droplet, but when I try to begin a project with slc loopback this error appears: events.js:72 throw er; // Unhandled 'error' event ^ Error: EACCES, open…
C. Porto
  • 631
  • 3
  • 12
  • 26
0
votes
0 answers

Error trying StrongLoop Loopback replication

I'm trying StrongLoop Loopback replication with two MongoDB datasources. After posting some data in the Phone database, this error shows up. TypeError: Cannot call method 'getChangeModel' of undefined at Function.PersistedModel.replicate…
0
votes
1 answer

slc loopback:model does not allow selection of datasource

Following through the tutorial and I couldn't get model creation to allow me to manually choose datasource. It automatically chooses "db (memory)" Numerous datasources were created via "slc loopback:datasource"... datasource.json as follow: { …
huia
  • 1
0
votes
1 answer

Use loopback token authentication for authentication of socket.io

I'm working with loopback 2.0 and socket.io 1.0.6. I'd like to use loopback authentication method for authencation of socket.io. I found the method to authenticate users in…
kechol
  • 1,554
  • 2
  • 9
  • 18