LoopBack 4 comes with the following example projects:
hello-world: An example showing how to set up a simple application using LoopBack 4.
rpc-server: An example showing how to implement a made-up RPC protocol.
greeter-extension: An example showing how to implement the extension point/extension pattern.
greeting-app: An example showing how to compose an application from component and controllers, interceptors, and observers.
loopback4-example-shopping: An online e-commerce demo to validate/test the LoopBack 4 framework readiness.
You can download the example projects using our CLI tool
lb4 example <example-name>
For example, the following command downloads the
hello-world example into
lb4 example hello-world
Please follow the instructions in
Install LoopBack4 CLI if you don’t
lb4 installed yet.