RSSAmplifier

nickb.dev · Sep 4, 2023

Split Next.js across hosting providers and advocate for direct S3 uploads

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I was migrating a Next.js application ( pdx.tools ) from a self hosted instance to run serverless and edge functions over on Vercel . 
 One serverless endpoint accepts an uploaded EU4 save file, parses it via a microservice , uploads to S3, and sticks the parsed data in Postgres. Conceptually, the endpoint can be written: 
 export function POST ( req : Request ) {
 const bytes = new…

Read on nickb.dev

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.