|
|
|
|
|
by dfee
1494 days ago
|
|
I'm all for a monorepo – or to a lesser degree, utility functions that are re-usable across components. That's not what I'm talking about. Running NextJS as a handful of lambdas is fine, but you still likely need to initialize other services in the background (like databases)... otherwise you have a monolithic front-end... as in: "my monolithic front end talks to my monolithic back end, so I really have two micro/macro services", and maybe I should investigate breaking the FE/BE down into smaller components". sure, you can use pgbouncer, etc. but it becomes sorta cost prohibitive to run a few apps. |
|
How you make the database connection work with serverless connection requirements seems like a minor issue. I haven't used it but it seems like next + prisma (+ tailwind lol) is the default stack of tutorial writers these days.