@loopback/example-hello-world
TypeScript icon, indicating that this package has built-in type declarations

7.0.1 • Public • Published

@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

Dependencies (3)

Dev Dependencies (6)

Package Sidebar

Install

npm i @loopback/example-hello-world

Weekly Downloads

11

Version

7.0.1

License

MIT

Unpacked Size

64.1 kB

Total Files

21

Last publish

Collaborators

  • rfeng
  • bajtos
  • rmg
  • hacksparrow
  • dhmlau
  • jerry-apic
  • theprez
  • frbuceta
  • marioestradarosa
  • achrinza