Quality of life improvement and explore backend options for this site
When I want to add an image to this site, I have to:
I want to build an endpoint that will:
I'm going to use this project to explore backend options for this site.
While there is documentation to deploy Next.js Route Handlers via Cloudflare Pages, the runtime for the function is edge
meaning I cant include the use of libraries I need to do the image uploading. (I did explore doing the image uploading with all native support but didnt want to get into the weeds using the Cloudflare crypto API to authenticate requests to Uploadcare.)
If I wanted to continue with Next.js Route Handlers and use them in a node.js runtime, then I would need to move deploying my site from Cloudflare Pages to Vercel.
Serverless and AWS Lambda
What I choose for this project will set me up for building the next things. With a eye towards keeping things easy, Im learning towards using Supabase as the kinda batteries included option. I dont want to move off Cloudflare hosting to Vercel hosting just to get Next.js Route Handlers.
This allowed me to quickly add email magic link auth.
Current things that bring me joy to work on