Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
12 replies
danmrkw

create csv on the backend and server for download

I have a table called pollResults. It contains data that my users want to download into a csv file. What is the best way to generate that file on the backend (using t3 stack) and then serve it as a download on the client? ideally without getting anything like S3 involved.
Was this page helpful?