loopbackjs Questions

1

Solved

I have a Client model that inherits the built-in User model. I have created a custom role admin and defined two ACLs using that role for Client model: { "principalType": "ROLE", "principalId": "...
Plovdiv asked 22/3, 2017 at 20:52

1

I have an empty loopback app, where I added a model and a mongodb datasource. When connecting, I get the following error: Web server listening at: http://0.0.0.0:3000 Browse your REST API at http...
Generatrix asked 11/5, 2016 at 15:21

5

I am running a node strongloop application and need for it be auto-restarted if it crashes. what is the best way to auto restart a node application? Also is there anyway to be notified when these c...
Reopen asked 5/4, 2016 at 5:5

4

I'm trying to get Loopback to discover and build my first table. I've used the simple example on their page at the bottom here: http://docs.strongloop.com/display/LB/Database+discovery+API#Databas...
Martita asked 30/9, 2014 at 19:9

0

We are using strongloop process manager for running my loopback app on production boxes, and using sl-deploy to deploy the code. We are facing the below issue:- FATAL ERROR: CALL_AND_RETRY_LAST ...
Dislimn asked 31/1, 2017 at 8:56

3

Solved

I'm using loopback Api Explorer I need to upload a file by explore how can I upload that because I don't find any option to upload file please refer the screenshot .
Speciosity asked 8/9, 2015 at 5:26

2

Solved

Swagger helps in creating Restful Api, I get that. Where would you use LoopBack, is this another tool for creating Rest api. LoopBack has support swagger 2.0. I am confused here, can they be used i...
Amparoampelopsis asked 15/12, 2015 at 13:32

1

As the title suggests i tried to add a 2dsphere index on my GeoPoints attributes on LoopbackJs. My MongoDB shell version is 3.2.3 - so it should do. Here are my tries so far: Adding enableGeoInd...
Yacketyyak asked 26/10, 2016 at 8:26

1

I'm new to LoopBack, and I seem to be missing something. I've heard so much about StrongLoop and LoopBack, I find it hard to believe this doesn't exist. My case: I'm looking to count the amount of...
Panegyric asked 17/2, 2016 at 12:20

5

Solved

I have installed Strongloop using npm install -g strongloop on my Ubuntu 14.04 server. The slc command does not work. It says The program 'slc' is currently not installed. You can install it by t...
Drew asked 24/3, 2015 at 0:31

1

Solved

I'm using Loopback for my server with the following setup: "loopback": "^2.36.0", "loopback-boot": "^2.23.0", "loopback-component-explorer": "^2.4.0", "loopback-component-storage": "^1.9.1", "loo...
Crypto asked 2/11, 2016 at 0:32

1

Solved

Anybody know what "params" is/are for the Loopback docs here: https://docs.strongloop.com/display/public/LB/Executing+native+SQL it says: Executing native SQL To execute SQL directly against yo...
Schwenk asked 21/10, 2016 at 19:18

1

I want to setup an OAuth 2.0 Server using Loopback using a package called loopback-component-oauth2 The documentation is here : https://docs.strongloop.com/display/public/LB/OAuth+2.0#OAuth2.0-Usi...
Cracked asked 5/10, 2016 at 12:33

1

is there a way to implement something like this in loopback? LOCK READ INCREMENT UNLOCK I would like to keep counters as database values, each key is a counter (or a setting), and they shouldn...
Hickey asked 18/10, 2016 at 12:19

1

Solved

Is there a way to unit test Express / Loopback middleware without actually creating a server and listening on a port? The problem I have is that creating multiple servers in my test code will intr...
Nianiabi asked 19/10, 2016 at 2:43

2

Solved

I want to use different environment specific datasource configurations in a Strongloop app. I saw at https://docs.strongloop.com/display/public/LB/Environment-specific+configuration that the priori...
Soot asked 12/2, 2016 at 14:4

1

Solved

I have two models: container: handles file uploading and works fine in loopback explorer. Crawler: have multiple properties. one of the properties is script that user can upload a script file to ...
Philbrick asked 6/10, 2016 at 6:57

1

My application's users are geographically dispersed and data is stored in various regions. Each region has it's own data center and database server. I would like to include a route value to indicat...
Le asked 6/10, 2016 at 3:34

8

Solved

I am trying to use Strongloop with MySql but cannot figure out how to migrate or automatically create tables into a MySql database. Is there at least a way to export the models into MySql schemas ...
Taskwork asked 19/4, 2014 at 10:40

1

I started to learning promise with loopback and jsforce, and couldn't handle this problem; I couldn't return status var inside promise to cb() function. Basically i want to connect salesforce and ...
Decretive asked 29/9, 2016 at 8:0

1

Solved

I have a Loopback API with a model Student. How do I write unit tests for the node API methods of the Student model without calling the REST API? I can't find any documentation or examples for tes...
Trexler asked 27/9, 2016 at 7:57

3

Solved

I am trying to learn loopback but I don't really understand what 'cb' means in function call. I read this In loopback documentation what does variable 'cb' stands for? and I have basic unde...
House asked 6/7, 2015 at 7:25

1

In a Loopback application, there's mention of a built-in Application model. This page says "contains metadata for a client application that has its own identity and associated configuration wit...
Aldercy asked 11/12, 2015 at 4:47

2

I am new to loopback and i am just started to implement the tutorial https://docs.strongloop.com/display/public/LB/Connect+your+API+to+a+data+source But i am receiving the error: [error: relation...
Grunberg asked 9/3, 2016 at 7:21

2

Solved

I am using loopback for storing Image to the server. I want to modify the file name of the file before getting saved to the server. Also I want to convert it to another thumbnail form before get...
Prospect asked 25/6, 2015 at 11:6

© 2022 - 2024 — McMap. All rights reserved.