beef331 / website

Code for the official Nim programming language website
https://nim-lang.org
19 stars 1 forks source link

pigeon #61

Closed ghost closed 1 year ago

ghost commented 1 year ago

Name: pigeon

Author: Liam Scaife

Posting:

Pigeon replaces HTTP boilerplate with simple Nim procedures. When compiling to C (and friends), procedures defined within the autoRoute macro are automatically exposed as an API via Jester. When compiling to JS, matching procedures are created that make requests to the API. All arguments and return values are marshaled into JSON for the journey.

The result is procs you can define on the server, then call from a webapp, letting you develop them together.

Install with nimble install pigeon. More info and usage examples at https://github.com/dizzyliam/pigeon.

beef331 commented 1 year ago

Added to October.