Download the working example from my Github repository here. The Loopback team recently included the express-composition example for mounting the Loopback 4 Rest API in a regular Express application. See the full tutorial to do this on their official page here. So, you can do something like this - This also allowed adding Express style middleware before passing control to the Loopback application. It is especially useful for adding Express middleware to check access tokens, …
Continue Reading about Mounting Loopback 4 Rest API in Express with Winston Logging →





