Best practices or course on writing a production-grade NextJS backend?

Hey all! I've spent most of my career in the frontend so I'm pretty familiar with React. Recently I was able to get buy in for migrating our Express backend to Nextjs after watching Theo's Next Conf + it not really ever making sense that we have a separate backend to begin with. I was wondering if anyone had recommendations for courses or readings on how to organize a Nextjs backend, with naming convention, proper error handling, custom middlewares (not using nextjs' middleware.ts), how to organize a backend project along with scripts, integrating with third party services like queues etc thank you!
4 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
char
charOP3y ago
thanks! i think im ok in the "selecting parts of the stack" / template department, more so looking for what a codebase can look like after that point. ill check this video out! lol these chopsticks also something i failed to mention was our codebase is a ways away from e2e typesafety, there's still another django backend our next app has to hit (the original express server never hit the db directly) as much as id love to use trpc ) :
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
char
charOP2y ago
oh this is awesome! thank you!!
Want results from more Discord servers?
Add your server