Post

I spent way too much time at work figuring out how to deploy a React frontend with a simple backend on Vercel. While I definitely could have just used NextJS the final outcome is a setup that takes less than 30 seconds to deploy. It can even do SSR, and HMR on both the frontend and backend too!

0 reposts6 likes

The difficult part of setting this up was a) figuring out Vercel's Output API, and b) wanting a expected experience of just running "pnpm dev" and having both the frontend and backend running with HMR. But now that I've done it I think this may be my setup for small projects going forward