loopbackjs Questions

3

Planning to build an enterprise level application using node js. Have already worked on express js for a few projects. When researching for other possible frameworks, came across loopback js. Loo...
Glans asked 14/2, 2018 at 4:42

1

Solved

I have a Loopback Application with a REST API. I want to make a REST API Enpoint /Email/sendEmail which sends an email. I did this tutorial: https://loopback.io/doc/en/lb3/Email-connector.html, b...
Vanhouten asked 23/5, 2019 at 12:50

0

i am using loopback 3 developed api load into react admin using react admin loopback package.my doubt is i am write remote api id based get list of values in my response.its result how to load reac...
Kowloon asked 27/3, 2019 at 5:58

0

How to connect loopback4 server app with Elasticsearch DB. I have tried with below reference links. but they have not explained for loopback4. And have did same implementation using below referen...
Freezedrying asked 25/3, 2019 at 13:16

1

Solved

I can't find any ressources on how to change the success HTTP code using loopback 4. For example : 201 "created" on post method 204 "no content" on delete method I tried to specify this in the ...
Kielty asked 12/2, 2019 at 17:8

3

Solved

How to ensure uniqueness of a particular field in loopback model. Like below is the model Post, I have a field genericId in it, I want it to be unique in the database, and loopback to through an er...
Extol asked 19/9, 2014 at 6:48

8

Solved

I see that LoopBack has the Express 3.x middleware built-in. Indeed, body-parser is in loopback/node_modules. But I cannot figure out how to use it as middleware. I have never worked with Express 3...
Latishalatitude asked 15/2, 2015 at 6:58

3

Solved

Hi as of title of question I was wondering how one can check if loopback boot scripts have finished before launching tests. In a example project: https://github.com/strongloop/loopback-example-re...
Chefoo asked 11/7, 2016 at 18:1

1

Im stress testing an API in loopback which is transpiled with Babel. However, during these longer "smoke" tests, we have seen the require cache in Heap analysis growing quite large (up to 1gb) and ...
Mcgray asked 14/4, 2016 at 16:14

4

Solved

What is the best practice for deploying a nodejs application? 1) Directly moving the node_modules folders from the development server to production server, so that our same local environment can b...
Veliz asked 5/6, 2018 at 6:18

3

Solved

I have defined several models that use a Datasource "db" (mysql) for my environment. Is there any way to have several datasources attached to those models, so I would be able to perform REST opera...
Horripilate asked 25/11, 2014 at 10:44

1

Solved

I'm new with TypeScript. I'm currently learning NodeJS Loopback 4 framework which use Typescript language. And my question is how to import some function, class which has been exported in JS file i...
Golanka asked 23/1, 2019 at 6:9

2

Solved

Pretty similar to https://serverfault.com/questions/539466/413-request-entity-too-large-client-max-body-size-is-set I've got a Node server (using Loopback) running on top of nginx (to be specific,...
Bendite asked 29/11, 2014 at 1:11

0

I'm using Keycloak 4.8.0 as authentication server. I have configured a realm that issues JWT that are signed with EC512. I'm obtaining the token via the endpoint https://example.com/auth/realms/myr...
Susurrus asked 17/12, 2018 at 21:58

2

Solved

I'm working in Loopback 4 and getting stuck in creating a POST method so that client can call this method and upload a multipart/form-data. I read some examples: https://medium.com/@jackrobertsco...
Scribe asked 1/11, 2018 at 14:5

3

I'm using loopback 3 to build a REST service, and I want to use the async/await instead of having to use the callbacks. So instead of doing that: MyModel.myFunction = (callback) => { MyModel.f...

3

I am doing a console.log(process.env.TZ); console.log(new Date()); It outputs Europe/Amsterdam 2018-09-02T08:07:03.842Z But the current time is 10:07 not 08:07. The actual problem is that...
Untangle asked 2/9, 2018 at 8:20

4

Solved

I have renamed a number of models and tables in my loopback application, however I must now migrate to this model definition. I need to run autoMigrate(). It must be run on a dataSource object but...
Galah asked 13/10, 2016 at 20:10

3

I am using react with loopback. I wanted to integrate react code in loopback. if i do these 3 steps 1)middleware.json - put this "files": { "loopback#static": { "params":"$!../client" } },` 2...
Procathedral asked 22/12, 2017 at 20:8

2

I deployed an Loopback app to Heroku, but it keeps crashing with error Web process failed to bind to $PORT within 60 seconds of launch I know it could be connected to the dynamic port of Heroku,...
Elfriedeelfstan asked 26/10, 2015 at 19:43

5

Solved

We're using Strongloop's LoopBack for our REST APIs and would like to modify the CSS for the LoopBack Explorer. However, it's not clear which CSS files are being used (LoopBack vs Swagger) and wher...
Maemaeander asked 21/1, 2015 at 17:34

2

I wanted to deploy my app on remote Linux server. I am using loopback and I wanted to follow instruncions in docs. Ive build an app using arc, started proces manager on remote host and deployed it ...
Lasser asked 7/2, 2016 at 20:45

1

I would like to utilise the MongoDB Decimal128 Data type in loopback. Note: I don't want to use the Number type. My model: { "name": "Mongoproduct", "options": { "validateUpsert": true, "stri...
Banter asked 9/7, 2018 at 0:52

4

Solved

I am using loopback as a backend now I wish to be able to search across all fields in the table For instance, take the following table fields: id, name, title, created, updated Now say I want t...
Bannerman asked 29/6, 2018 at 12:41

2

I have a person model which has a belongsTo relations with a meeting model. I´m doing the query Person.find({include:['meetings']}) Which gives me a result like this one: person:{ name:"perso...
Skean asked 30/6, 2016 at 23:54

© 2022 - 2024 — McMap. All rights reserved.