Freelance Full-Stack Developer
Robin / Freelance
- Built a bilingual Next.js 16 App Router application with automatic RTL/LTR layout switching (Persian default, English), Jalaali calendar support, locale-aware routing, and self-hosted variable fonts (Urbanist + Peyda)
- Implemented Framer Motion scroll-triggered animations — viewport-based FadeIn (direction, delay, reduced-motion support) and CountUp animated number counters with automatic Persian numeral conversion (۰–۹)
- Built custom JWT authentication (HMAC-SHA256, no third-party library) with PBKDF2 password hashing (310,000 iterations + random salt), HttpOnly Secure SameSite=Strict cookies, 7-day session management, admin route protection via middleware proxy
- Built TipTap v3 rich text editor with image, link, text-alignment, heading, list, and blockquote extensions; media picker modal; HTML sanitization via sanitize-html for safe rendering
- Designed 8 MongoDB collections (articles, projects, contact_messages, team, categories, media, backups, backup_config) with Zod validation schemas across the full stack
- Built admin CMS panel with full CRUD for articles, projects, team members, categories, and media library — file uploads (images, documents, videos) with UUID filenames, MIME validation, and MongoDB-tracked metadata
- Implemented automated daily backups via node-cron (2 AM UTC) with manual backup/restore API endpoints
- Applied strict security headers: Content Security Policy, HSTS (63-year max-age), X-Frame-Options=DENY, X-Content-Type-Options, Referrer-Policy, Permissions-Policy
- Implemented Winston structured logging with dual output (file + console), daily rotation, 14-day retention, 20MB per-file cap
- Production deployment: PM2 + Nginx + Cloudflare Full Strict SSL (Origin Certificate) on Ubuntu VPS