Senior Software Engineer at Incube8 Pte. Ltd·
Needs advice
on
NestJSNestJS
and
Next.jsNext.js

I would choose Next.js / Nuxt.js or SvelteKit as they're implemented to support the backend that manages cookies/sessions/API/reactive components and props.

The good thing about them is that if ever your app grows with a ton of traffic, you can easily migrate your SSR app and use other programming languages such as Golang or Rust to serve the API.

NestJS is only used for the backend side, however, the backend side of this is already offered from these big 3 (Next/Nuxt/SvelteKit), as these 3 major SSR Frameworks were able to connect from RDB / MongoDB / GraphQL / 3rd Party APIs, you name it!

Regarding websocket / service-worker (PWA) / wasm, those big 3 can do it too

TL;DR: NodeJS is so big, don't complicate your life, make a single route to handle the frontend and backend, migrating to performant environment such as Go/Rust can be done over an api call inside those big 3 Next/Nuxt/SvelteKit.

READ LESS
4 upvotes·311.6K views
Avatar of Daison Carino

Daison Carino

Senior Software Engineer at Incube8 Pte. Ltd