sinclairzx81 / sidewinder

Type Safe Micro Services for Node
Other
61 stars 3 forks source link

Rest #17

Closed sinclairzx81 closed 2 years ago

sinclairzx81 commented 2 years ago

This PR provides a specialized RestService type that can be mounted on the Host infrastructure. It provides a similar API to the WebService and WebSocketService RPC types, but supports the typical get, post, put, delete HTTP verbs in place of method names.

The RestService is a specialized version of the HttpService. It implements it's own routing (outside of Express) and is intended to be used as a pivot point for Node / Deno implementations in future.