Рет қаралды 4,118
Learn how to generate ZIP archives to download multiple files on the fly in a API Route using Next.js App Router.
We'll walk through creating a new API route in Next.js using the App Router, generating a new ZIP archive using JSZip, dynamically downloading image files based on URL params passed to the archive endpoint, and adding them to the ZIP archive to download all at once.
🧰 Resources
Code: github.com/colbyfayock/my-zip...
📺 KZbin: kzbin.info?sub_c...
🐦 Twitter: / colbyfayock
📹 Twitch: / colbyfayock
✉️ Newsletter: www.colbyfayock.com/newsletter/
🎥 What I Use: www.colbyfayock.com/uses
#colbyfayock #nextjs #api #webdevelopment