Specifications

The complete store specification

Everything under the hood — the stack, how it deploys, and the guarantees that come with it.

Tech stack

  • Next.js 15 (App Router, server components, SSR/ISR)
  • Django 5 + Django REST Framework
  • Tailwind CSS with CSS-variable theming
  • next-intl for i18n + RTL
  • AntD-powered admin dashboard

Data & deployment

  • SQLite for demos / PythonAnywhere mock
  • PostgreSQL for production
  • Synchronous jobs in mock, Celery + Redis in production
  • Cloudinary CDN or local media storage
  • Reversible migrations & seedable demo data

Performance

  • Mobile-first, fast first paint
  • Image optimization via next/image
  • ISR caching with tag revalidation
  • Pluggable search (simple → Meilisearch)
  • Horizontal-scaling ready

SEO

  • Canonical URLs + hreflang alternates
  • JSON-LD structured data
  • Dynamic multilingual sitemap & robots
  • OpenGraph + Twitter cards
  • Rich snippets for products & articles

Security & compliance

  • JWT access + refresh rotation, logout blacklist
  • OTP email verification & password reset
  • Rate limiting on auth-sensitive endpoints
  • CSRF, XSS & SQL-injection protections
  • PII anonymization & GDPR-friendly data handling

Reliability & data integrity

  • Order snapshots immune to catalog changes
  • Full audit trails (status, transactions, refunds)
  • Atomic checkout transactions
  • Soft references so deletions never corrupt history
  • Backups via managed DB & media providers