Skip to content

alexkander/loopback4-example-websocket-app

Repository files navigation

loopback4-example-websocket-app

This example integrate a resp Loopback 4 application (socket.io).

Based on:

Basic use

npm install
npm start
Open your browser to http://localhost:3000

Routes examples

  • /chat/{id:number} -> ChatControllerWs (socket.io connections)
  • /todo -> TodoController (HTTP Requests)

License

MIT

Change Log

0.1.1 (2020-07-24)

Features

  • WebSocketMetadata attribute name added
  • bind of io instance and namespace to inject in other controllers.

0.1.1 (2020-07-24)

Features

  • integration websocket controller booter

0.1.0 (2020-07-24)

Features

About

Loopback 4 minimal app with websocket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published