Build a robust file upload system for [APPLICATION TYPE].
File types: [IMAGES / DOCUMENTS / VIDEO / ALL]
Max file size: [SIZE]
Storage: [S3 / GCS / CLOUDFLARE R2 / LOCAL]
Provide:
1. Frontend: Drag-and-drop uploader with progress bar, preview, and validation
2. Backend: Multipart upload handler with streaming (not loading into memory)
3. Direct upload: Pre-signed URL flow for large files
4. Validation: File type, size, dimensions, virus scanning
5. Image processing: Resize, compress, generate thumbnails (Sharp/ImageMagick)
6. Storage: Bucket setup, folder structure, naming convention
7. CDN: Serving files through CDN with cache headers
8. Database: File metadata schema and querying
9. Security: Access control, signed URLs for private files
10. Cleanup: Orphan file detection and deletion
Build a robust file upload system for [APPLICATION TYPE].
File types: [IMAGES / DOCUMENTS / VIDEO / ALL]
Max file size: [SIZE]
Storage: [S3 / GCS / CLOUDFLARE R2 / LOCAL]
Provide:
1. Frontend: Drag-and-drop uploader with progress bar, preview, and validation
2. Backend: Multipart upload handler with streaming (not loading into memory)
3. Direct upload: Pre-signed URL flow for large files
4. Validation: File type, size, dimensions, virus scanning
5. Image processing: Resize, compress, generate thumbnails (Sharp/ImageMagick)
6. Storage: Bucket setup, folder structure, naming convention
7. CDN: Serving files through CDN with cache headers
8. Database: File metadata schema and querying
9. Security: Access control, signed URLs for private files
10. Cleanup: Orphan file detection and deletion
How to use this prompt
Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.
Leave a Review
Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.