nmengN
tRPC3y ago
8 replies
nmeng

One file per function call on the server side

I'd like to structure my server with one file per function call -- is this an antipattern?
If not, does anyone have an example repo of how to structure the server code with one function/rpc call per file?
Do I have to have one router per function call?
Was this page helpful?