Qprint_antiGravity/
├── backend/ # Go backend API
│ ├── cmd/
│ │ ├── api/ # Main API server
│ │ ├── create_admin/ # Admin user creation utility
│ │ ├── check_users/ # User management utility
│ │ ├── fix_file_paths/ # File path repair utility
│ │ └── fix_schema/ # Schema fix utility
│ ├── internal/
│ │ ├── admin/ # Admin handlers & middleware
│ │ ├── auth/ # JWT authentication
│ │ ├── csrf/ # CSRF protection
│ │ ├── database/ # DB connection & schema
│ │ ├── email/ # Email service (Resend/SMTP)
│ │ ├── handlers/ # HTTP request handlers
│ │ ├── middleware/ # HTTP middleware (body limit)
│ │ ├── models/ # Data models
│ │ ├── payment/ # Razorpay integration
│ │ ├── ratelimit/ # Rate limiting
│ │ ├── secureheaders/ # Security headers
│ │ ├── shopstatus/ # Shop auto-close sweeper (heartbeat + web activity)
│ │ ├── storage/ # File storage (Local/S3)
│ │ └── utils/ # Utility functions
│ ├── migrations/ # SQL migration files
│ ├── scripts/ # Database scripts
│ ├── go.mod # Go dependencies
│ └── .env # Environment variables (not in git)
│
├── frontend/ # Next.js web frontend
│ ├── app/ # Next.js app directory
│ │ ├── admin/ # Admin dashboard (users, orders, payouts, payments, downloads)
│ │ ├── contact/ # Contact page
│ │ ├── customer/ # Customer dashboard & wallet
│ │ ├── delete-data/ # GDPR "Delete data" page (Play Store requirement)
│ │ ├── download-apps/ # Public app download links page
│ │ ├── forgot-password/ # Password recovery
│ │ ├── forgot-username/ # Username recovery
│ │ ├── login/ # Authentication pages
│ │ ├── privacy/ # Privacy policy
│ │ ├── register/ # Registration pages
│ │ ├── reset-password/ # Password reset
│ │ ├── refund-policy/ # Refund policy
│ │ ├── shipping-policy/ # Shipping policy
│ │ ├── shopkeeper/ # Shopkeeper dashboard
│ │ └── terms/ # Terms of service
│ ├── components/ # React components
│ ├── lib/ # Utilities & API client
│ ├── android/ # Capacitor Android wrapper
│ └── package.json
│
├── admin_frontend/ # Separate admin panel (port 3001)
│ ├── app/ # Admin pages (dashboard, users, orders, payouts, payments, downloads)
│ ├── lib/ # API client (includes getAppDownloads, updateAppDownloads)
│ └── package.json
│
├── customer_app/ # Flutter customer app
│ ├── lib/
│ │ ├── screens/ # App screens
│ │ │ └── widgets/ # Reusable widgets
│ │ ├── services/ # API & location services
│ │ ├── config/ # App configuration
│ │ ├── utils/ # Utility functions
│ │ └── theme/ # App theming
│ ├── scripts/ # Certificate update scripts
│ ├── android/ # Android platform files
│ ├── ios/ # iOS platform files
│ └── pubspec.yaml
│
├── shopkeeper_app/ # Flutter shopkeeper app (Windows)
│ ├── lib/
│ │ ├── screens/ # App screens
│ │ ├── services/ # API, printer, converter_engine, pdf_utils
│ │ ├── config/ # App configuration
│ │ ├── utils/ # Utility functions
│ │ └── models/ # Data models
│ ├── scripts/ # Windows printing setup
│ │ ├── setup_sumatra.ps1 # SumatraPDF download
│ │ └── setup_libreoffice.ps1 # LibreOffice portable (Word/PPT→PDF)
│ ├── windows/ # Windows platform files
│ ├── build_windows.bat # Clean build + SumatraPDF + optional LibreOffice
│ └── pubspec.yaml
│
├── project-docs/ # Docusaurus documentation
│ └── docs/ # Markdown documentation files
│
├── manage.bat / manage.sh / manage.py # Management scripts
└── README.md # Project documentation