# CDN API - StackDev > A high-performance CDN API for image optimization, file management, and asset delivery with JWT auth and a modern web dashboard. - URL: https://pphat.me/projects/cdn-api-stackdev - Status: completed - Tags: File Management, Express.js, TypeScript, SQLite, Tailwind CSS - Contributors: PPhat DEv - Updated: 2026-04-28 ## Project
--- # ✨ **About Project** CDN API is a production-ready content delivery network service that provides intelligent image optimization, secure file storage, and efficient asset management. Built with modern web technologies, it offers both a RESTful API and a web-based dashboard for managing your digital assets. This comprehensive service features JWT-based authentication with role-based access control, database migrations using Drizzle ORM with SQLite, high-performance image processing with Sharp, and a beautiful web interface built with EJS and Tailwind CSS. The system includes rate limiting, CORS protection, session management, and complete audit logging for security compliance. # 🛠️ **Project Tech Stack** - **Backend:** - Express.js `v5.x` with TypeScript - Drizzle ORM with SQLite (Better-SQLite3) - JWT Authentication with bcrypt - TypeScript `v5.x` - **Image & Document Processing:** - Sharp (High-performance image optimization) - Puppeteer (PDF generation & document previews) - TIFF.js (TIFF image handling) - Multer (File upload handling) - **Security & Performance:** - Express Rate Limiting - CORS Protection - Session Management - Security Audit Logging - IPv6 Support - **Frontend & UI:** - EJS Templating - Tailwind CSS `v4.x` - Modern Responsive Design - File Browser Interface - **Database:** - SQLite Database - Drizzle ORM - Migration System - Seed Data Support - Drizzle Studio - **Development:** - ts-node with hot reload - PostCSS - ESLint - Docker Support - PM2 Process Manager ## Related - [All pages](https://pphat.me/llms.txt): Index of pphat.me - [About the author](https://pphat.me/about/llms.txt)