Search
Feedback
Setup for Free
TTC
Theo's Typesafe Cult
•
3y ago
•
2 replies
zio_
Next API Route design
For something like CRUD operations is it best practice to have a route
(separate file
) for each operation or have it all in one route
(single file
)
?
Theo's Typesafe Cult
Join
26,215
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
next MongoDB api route returns []
TTC
Theo's Typesafe Cult / questions
2y ago
Next.js API route error in prod
TTC
Theo's Typesafe Cult / questions
4y ago
Call Next api route handlers in from RSC?
TTC
Theo's Typesafe Cult / questions
3y ago
Next JS API Route Never Returns HTTP Status
TTC
Theo's Typesafe Cult / questions
4y ago