DEV Community

Discussion on: How to build a basic REST API in Lua - Milua micro framework

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Did you also consider using Pegasus? That seems to be getting very close to what you want and runs on windows as well as linux :D

Collapse
 
miguelmj profile image
MiguelMJ

I don't know how I didn't come across this while searching... Thank you ;)

Collapse
 
miguelmj profile image
MiguelMJ

I've been reading the code of Pegasus and I like some of their approaches, but obviously it is a framework for more serious work. And still, I'd like it more if it allowed routing the way Flask does (see second example here). That's one of the features that I find most convenient and that I tried to replicate in Milua with the add_handler function.
Thanks again for your comment <3