While the prerender.io team does not provide explicit directions for getting their service/NodeJS service to work with Loopback, it isn’t hard to do so. At the top of your top level bootstrap JS file, after the “app” variable is declared simply provide the following: app.use(require(‘prerender-node’).set(‘prerenderToken’, ‘<your token here>’)); Then, from the prerender.io service dashboard, add… Read more »
Posts Categorized: LoopbackJS
Yeoman’s Loopback generator and missing middleware support, how I rectified this issue.
I was trying to post to a model in the Loopback Explorer and certain fields referenced IDs from related models, only no matter what format my JSON was in my data was being inserted as an array where each index value corresponded to each letter in the string of text. I discovered that the cause… Read more »