-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
If you do everything through API routes, you can keep the same code base for both SSR and client-side (example only fetching on the client-side through SWR but you can add a getServerSideProps to fetch on the server and pass it as initialData to SWR, more info here).
Handle your JWT session through the server-side. I personally use with-iron-session because it’s quite simple to set in place and consume in your API routes.
I actually just made a template repo for running a Next.js app with a NestJS server. Here's the link https://github.com/KennyStanley/nest-next