Switch branches/tags
v4.0.0-alpha.1 @loopback/testlab@4.0.0-alpha.24 @loopback/testlab@4.0.0-alpha.23 @loopback/testlab@4.0.0-alpha.22 @loopback/testlab@4.0.0-alpha.21 @loopback/testlab@4.0.0-alpha.20 @loopback/testlab@4.0.0-alpha.19 @loopback/testlab@4.0.0-alpha.18 @loopback/testlab@4.0.0-alpha.17 @loopback/testlab@4.0.0-alpha.16 @loopback/testlab@4.0.0-alpha.15 @loopback/testlab@4.0.0-alpha.14 @loopback/testlab@4.0.0-alpha.13 @loopback/testlab@4.0.0-alpha.12 @loopback/testlab@4.0.0-alpha.11 @loopback/testlab@4.0.0-alpha.10 @loopback/testlab@4.0.0-alpha.7 @loopback/testlab@4.0.0-alpha.5 @loopback/testlab@4.0.0-alpha.4 @loopback/testlab@4.0.0-alpha.3 @loopback/testlab@1.0.1 @loopback/testlab@1.0.0 @loopback/testlab@0.15.2 @loopback/testlab@0.15.1 @loopback/testlab@0.15.0 @loopback/testlab@0.14.1 @loopback/testlab@0.14.0 @loopback/testlab@0.13.0 @loopback/testlab@0.12.2 @loopback/testlab@0.12.1 @loopback/testlab@0.12.0 @loopback/testlab@0.11.5 @loopback/testlab@0.11.4 @loopback/testlab@0.11.3 @loopback/testlab@0.11.2 @loopback/testlab@0.11.1 @loopback/testlab@0.11.0 @loopback/testlab@0.10.11 @loopback/testlab@0.10.10 @loopback/testlab@0.10.9 @loopback/testlab@0.10.8 @loopback/testlab@0.10.7 @loopback/testlab@0.10.6 @loopback/testlab@0.10.5 @loopback/testlab@0.10.4 @loopback/testlab@0.10.3 @loopback/testlab@0.10.2 @loopback/testlab@0.10.1 @loopback/testlab@0.10.0 @loopback/testlab@0.9.0 @loopback/testlab@0.8.0 @loopback/testlab@0.7.0 @loopback/testlab@0.6.0 @loopback/testlab@0.5.4 @loopback/testlab@0.5.2 @loopback/testlab@0.5.1 @loopback/testlab@0.5.0 @loopback/testlab@0.4.1 @loopback/testlab@0.4.0 @loopback/testlab@0.3.3 @loopback/testlab@0.3.2 @loopback/testlab@0.3.1 @loopback/testlab@0.3.0 @loopback/testlab@0.2.0 @loopback/testlab@0.1.2 @loopback/testlab@0.1.1 @loopback/testlab@0.1.0 @loopback/service-proxy@1.0.2 @loopback/service-proxy@1.0.1 @loopback/service-proxy@1.0.0 @loopback/service-proxy@0.8.12 @loopback/service-proxy@0.8.11 @loopback/service-proxy@0.8.10 @loopback/service-proxy@0.8.9 @loopback/service-proxy@0.8.8 @loopback/service-proxy@0.8.7 @loopback/service-proxy@0.8.6 @loopback/service-proxy@0.8.5 @loopback/service-proxy@0.8.4 @loopback/service-proxy@0.8.3 @loopback/service-proxy@0.8.2 @loopback/service-proxy@0.8.1 @loopback/service-proxy@0.8.0 @loopback/service-proxy@0.7.1 @loopback/service-proxy@0.7.0 @loopback/service-proxy@0.6.3 @loopback/service-proxy@0.6.2 @loopback/service-proxy@0.6.1 @loopback/service-proxy@0.6.0 @loopback/service-proxy@0.5.14 @loopback/service-proxy@0.5.13 @loopback/service-proxy@0.5.12 @loopback/service-proxy@0.5.11 @loopback/service-proxy@0.5.10 @loopback/service-proxy@0.5.9 @loopback/service-proxy@0.5.8 @loopback/service-proxy@0.5.7 @loopback/service-proxy@0.5.6 @loopback/service-proxy@0.5.5 @loopback/service-proxy@0.5.4
Nothing to show
Find file History
dhmlau chore: publish release
 - @loopback/benchmark@1.1.1
 - @loopback/docs@1.2.0
 - @loopback/example-hello-world@1.0.4
 - @loopback/example-log-extension@1.0.4
 - @loopback/example-rpc-server@1.0.3
 - @loopback/example-soap-calculator@1.1.1
 - @loopback/example-todo-list@1.1.1
 - @loopback/example-todo@1.1.1
 - @loopback/authentication@1.0.4
 - @loopback/boot@1.0.4
 - @loopback/cli@1.1.1
 - @loopback/context@1.1.0
 - @loopback/core@1.1.0
 - @loopback/http-server@1.0.2
 - @loopback/openapi-v3@1.1.1
 - @loopback/repository-json-schema@1.2.1
 - @loopback/repository@1.0.4
 - @loopback/rest@1.3.0
 - @loopback/service-proxy@1.0.2
Latest commit a62c8b9 Nov 14, 2018

README.md

@loopback/example-hello-world

A simple hello-world application using LoopBack 4!

Summary

This project shows how to write the simplest LoopBack 4 application possible. Check out src/application.ts to learn how we configured our application to always respond with "Hello World!".

Prerequisites

Before we can begin, you'll need to make sure you have some things installed:

Additionally, this tutorial assumes that you are comfortable with certain technologies, languages and concepts.

Installation

  1. Install the new loopback CLI toolkit.
npm i -g @loopback/cli
  1. Download the "hello-world" application.
lb4 example hello-world
  1. Switch to the directory.
cd loopback4-example-hello-world

Use

Start the app:

npm start

The application will start on port 3000. Use your favourite browser or REST client to access any path with a GET request, and watch it return Hello world!.

Contributions

Tests

Run npm test from the root folder.

Contributors

See all contributors.

License

MIT