Maybe your API construct coupled with the StaticSite construct is more what I’m after 🤔
t
thdxr
10/20/2021, 3:10 PM
I think this is a good option - we mainly support NextJS on the frontend side. The backend side are things they added to make their Vercel offering more complete and probably too tricky for us to deploy into aws
j
Julien Goux
10/22/2021, 8:23 PM
I'd only use Next.js for their local DX. I only need a pure SPA for the front (no SSR/SSG etc...) and to be able to have individual rest handlers that I can compilé and deploy to lambdas.
Julien Goux
10/22/2021, 8:24 PM
I'm already handling my whole stack with CDK but I'm not 💯 commited to lambdas right now. I need to find a proper way to do it and not lose DX. 😁