Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
  • Jan 31 2019 16:43
    uniconstructor edited #4126
  • Jan 31 2019 16:41
    uniconstructor edited #4126
  • Jan 31 2019 16:41
    uniconstructor opened #4126
  • Jan 31 2019 03:44
    dzungh0ang closed #4123
  • Jan 30 2019 00:25
    techaks closed #4125
  • Jan 30 2019 00:02
    techaks edited #4125
  • Jan 30 2019 00:01
    techaks opened #4125
  • Jan 29 2019 23:33
    jkpulido opened #4124
  • Jan 29 2019 13:32
    nabdelgadir closed #4114
  • Jan 29 2019 09:17

    bajtos on add-node10


  • Jan 29 2019 07:13
    dzungh0ang opened #4123
  • Jan 29 2019 04:25
    dhmlau closed #3881
  • Jan 28 2019 13:14
    bajtos edited #4119
  • Jan 28 2019 12:47
    bajtos labeled #4121
  • Jan 28 2019 12:46
    bajtos labeled #4118
  • Jan 28 2019 12:46
    bajtos labeled #4118
  • Jan 28 2019 12:46
    bajtos labeled #4118
  • Jan 28 2019 12:46
    bajtos assigned #4118
  • Jan 25 2019 19:50
    dhmlau closed #3906
  • Jan 25 2019 19:13
    mschnee synchronize #4119
im using 3.x anyway.
Antonio Vargas
Hi all! Anybody here using loopback 3? How I can see what method of encryptation is used in the password encrypt?
Thinh Nguyen
Hi everyone, i have an issue with define model relation
i have 3 table
1: user (id, username)
2: role (id, rolename, roleKey)
3: user_role (userid, roleKey)
how to define a relation user has many roles thought user_role table?
i'm use loopback3
Thinh Nguyen
"roles": {
"type": "hasMany",
"model": "role",
"foreignKey": "userid",
"through": "user_role",
"keyThrough": "roleKey"
that's was not work now
Mohammad Hossein Mardani
hi, guys, I'm node js developer with over 5 years experience and now I'm looking for a development team to join them for work on startups, open-source projects, is anyone here to accept me :)
Chinh Le
hi guys, do you have any guide/tutorial to learn more about loopback? I'm just starting out and there are not many tutorials I can find online, and most of them is just using the cli to generate code, it doesn't help me to understand and use the framework, is there any tutorial that not only use the cli but actually write some new code? Thank you so much for your time!
Diana Lau
@dangchinh2501_gitlab, here is a YouTube video created by one of our maintainers: https://www.youtube.com/watch?v=cgBCRY169qg&feature=youtu.be. It explains pretty well about the framework.
Here is a list of tutorials: https://loopback.io/doc/en/lb4/Tutorials.html. Hope can help you started.
For further questions, please join our Slack community: https://join.slack.com/t/loopbackio/shared_invite/zt-8lbow73r-SKAKz61Vdao~_rGf91pcsw. Thanks!
C C Sreenidhin

Hi everyone,
I am working on creating dynamic models and repositories in lb4. I came across this issue:

'BookModel' refers to a value, but is being used as a type here. Did you mean 'typeof BookModel'. in
const DynamicRepositoryClass = defineCrudRepositoryClass<
BookModel, // issue is here
typeof BookModel.prototype.id,


But if typeof is used I get an error as follows:

Type 'DynamicModelCtor<typeof Entity, { id: number; title?: string | undefined; }>' does not satisfy the constraint 'Entity'.

I used the Model definitions as given in the documentation https://loopback.io/doc/en/lb4/Dynamic-models-repositories-controllers.html#defining-a-datasource
const bookDef = new ModelDefinition({
name: 'book',
properties: {
title: {
settings: {
idInjection: false,
mysql: {schema: 'test', table: 'BookStore'},

const BookModel = defineModelClass<typeof Entity, {id: number; title?: string}>(


Please help.

Eduardo Mazzucchelli
hi people,
can do this ??? and send email to one or two conector ??
Amin Azimi
hi , Can you help me , when i wanna to use lb4 discover it doesnt show any connetor?
Amin Azimi
nothing for lb4 discover?
Henrik Holst
How can I use json5 for the endpoints in LB?
Can I switch out the default JSON parser for JSON5 API somehow?
I could only find one single reference to JSON5.. by myself on a closed issue ;-) strongloop/loopback#4247
Hello world. In lb3 can we trap errors in a remote call in some middleware?
For e.g. consider there is a model. and we try to create a record via the http api POST /api/Customers with some irrelevant json data...
There would be some output on the console to this reflect this...
what middleware is responsible for that...? And how do I put my middleware before it?
Okay. never mind. I found the answer.
Mohammad Quadri
Is there any example for using Email Datasource for sending email in lb4
sumit shivaji sale
has any one implement mongodb audit log in lp4?
any one backing memory leak with lb4 update?
Hello Community
I posted a question related to an issue I am facing with postgres connector here: https://groups.google.com/g/loopbackjs/c/vY3ykgBgH3Q/m/MIb3Gqq3AAAJ. Can I assume the community is fairly active to get a response ? Just trying to figure this thing out asap.
Chinh Le
can anyone using loopback 3 can help me? I use the cli command "lb model" to create a new model for my app, after that, it affects significantly other file and some of the remote method of other models disappear
srinath talari
Hello Community,
Can we change the title of loopback/rest-explorer template index.html.ejs page ( currently it is LoopBack API Explorer)
please advice. Thanks in advance
Yongcheol Choi
Can I use template engine (like jade, pug, haml) for loopback 4?
Mohammad Quadri
What would be the best way to implement rabbit mq in loopback 4 or bull js
Chiranjeev Sharma
Is it possible to provide md5-sess encryption for creating Authorization digest header while processing a WSDL API method using strong-soap library ?
Library Ref: https://github.com/strongloop/strong-soap
Pawan Tejwani
Hi All
Can anyone please point me to working example of loopback 4 websockets with redis or any other cache ?
Thank you :)
alaa almasri
hello guys im new to loopback if some can help me find resources to learn
give me some tips i worked with express
Hi All
Do we have any way to filter on the child relation and get all the records for that criteria in Loopback 4
We need to find the listing and pagination on it, its very urgent and we are struck and not sure how loopback 4 supports it
Eduardo Mazzucchelli
Yanni Zhang
Hi, All, how do I report a potential security issue on LoopBack? I tried sending email to reachsl@us.ibm.com according to https://loopback.io/doc/en/contrib/Reporting-issues.html#security-issues, but the email account seems not working as I got a bounce back.
Ayman Ali
My loopback3 project crashes when it can not connect to postgress. How can I handle errors globally and write the message to datadog without crashing
Rifa Achrinza
Hi everyone, gentle reminder that Slack is the recommended platform for the community and Gitter is not actively checked by the maintainers. A link can be found on https://loopback.io navbar. strongloop/loopback-next#5048 also documents this shift to Slack.
alaa almasri
any help???
Hi huys!
Trying to implement CSP header to app. I'm setting the CSP in sequence.ts file but it creates the csp only for /api level. Can't find how to implement for the root level "/". Can you guys recommend any article or just tell how to do it on root level ? Thanks!
Hi Raymond.I am using lb3. Do we have access of request body in custom pre-processing middleware?
Rifa Achrinza

Have a question about LoopBack? Please read this!

Hi everyone, gentle reminder that Slack is the recommended platform for the community and Gitter is not actively monitored by the maintainers. A link can be found on https://loopback.io navbar and strongloop/loopback-next#5048.
sondos alayyan

I am using loopback 4 for backend and react for front end.
when I make a request on API, it gives me blocked Cors.

I tried this :
let config = {
mode: 'cors',
cache: 'no-cache',
credentials: 'same-origin',
headers: {
'Access-Control-Allow-Origin': '*',
'Content-Type': 'application/json',
redirect: 'follow',
referrerPolicy: 'no-referrer',
const response = await axios.post(${API}/signUppatient, obj, config);
but it didn't work