News for hackers. Stuff that matters.
Re:Show HN: A file tree based API Router by rajnathani on Tuesday July 07, 2020 @10:21AM (#23759551)
I created something I believe is exactly like this a while ago, one called xrest [0] which resolves the API endpoint routes from the file tree structure at runtime, and another called restree [1] which generates the routes before runtime by generating code.

[0] https://github.com/rajnathani/xrest

[1] https://github.com/rajnathani/restree

Re:Show HN: A file tree based API Router by aliezsid on Tuesday July 07, 2020 @03:24PM (#23763028)
Oh nice, good approach. I went with Native http for performance reasons