honojs / hono

Web framework built on Web Standards
https://hono.dev
MIT License
20.5k stars 594 forks source link

File base routing option #3652

Open NicKAnderson038 opened 1 week ago

NicKAnderson038 commented 1 week ago

What is the feature you are proposing?

Include a file/directory routing option for an improved DX experience & reduce the chances of using the same api names in multiple places for large backend only applications. I really appreciate the light weight, focused & simplistic nature of hono.js and I feel file routing would further enhance the experience even more.

EdamAme-x commented 1 week ago

I think you can use hono/factory or honox. (Or create new middleware...? But not typed)

NicKAnderson038 commented 1 week ago

Honox fit my needs, Ty!