Migrating Express middleware from LoopBack 3 (LB3) application to LoopBack 4 (LB4) application requires the use of a base Express application that will mount the LB4 application, which in turn mounts the LB3 application.
The base Express application presents the mounting point for the middleware that will be shared by the LB3 and LB4 applications.
Migrating LB3 Express middleware
This tutorial shows the Express middleware migration process in two steps:
- Mounting LB3 application on LB4 application
- Migrating Express middleware from LB3 application
To see an example of a LB3 application that has been mounted on a LB4 application and has its Express middleware migrated to a common location, see lb3-application.