The REST API package for loopback-next.
This package is not yet ready for production use, and the API has not yet stabilized. Additionally, this document is also a work-in-progress and some sections may not have corresponding code!
This component provides a REST server for your application instances, complete with:
To use this package, you'll need to install both
$ npm install --save @loopback/core @loopback/rest
Here's a basic "Hello World" application using
The rest package is configured by passing a
rest property inside of your
|port||number||Specify the port on which the RestServer will listen for traffic.|
|secure (NOT YET IMPLEMENTED)||HttpsConfiguration||Provide a collection of secure key materials to the RestServer, which switches it to HTTPS mode.|
|sequence||SequenceHandler||Use a custom SequenceHandler to change the behaviour of the RestServer for the request-response lifecycle.|
npm test from the root folder.
See all contributors.