SnipURL
Full-stack web application for generating and managing shortened URLs with dynamic QR code rendering, defensive collision prevention, and account management.
PHPMySQLJavaScriptHTML/CSS
Overview
SnipURL is a full-stack web application built to convert long, cumbersome links into clean, customized aliases paired with dynamically generated QR codes. Engineered as Lead Developer for a four-member team using core web technologies to master the complete client-server lifecycle.
The Challenge
- Link Collision Prevention: Generating random URL slugs while ensuring zero collisions against existing database entries, alongside validating user-defined custom aliases.
- Relational Integrity & Security: Reliably mapping shortened URLs to individual user accounts for history tracking while protecting every database query against SQL injection.
- Account Recovery & Integration: Implementing authentic transactional email delivery for password resets and rendering instant, downloadable QR codes without relying on heavyweight frameworks.
Architecture & Solution
- Native Full-Stack Architecture: Built using vanilla PHP, HTML, CSS, and MySQL without external frameworks to directly handle routing, session states, and database operations.
- Defensive Slug Verification Loop: Algorithmic lookup routine that validates slug uniqueness against the database before committing new redirect records.
- Prepared Statements & SMTP Integration: Strict PDO parameterized queries securing all database transactions, paired with dynamic QR code generation and native SMTP mailer integration.
Key Outcomes
- The Finished System: System fully capable of reliable URL redirection, custom slug claiming, and instant QR generation.
- Zero Security Vulnerabilities: Ensured database integrity with parameterized queries across all user inputs.
- Comprehensive User Dashboard: Empowered users to create custom links, generate instant QR codes, and manage link history in a unified portal.