KPEZDMC Digital

Industrial Management Portal

🚧 Under Construction

The backend API is fully operational, but the Flutter frontend is being built and deployed.

👤 User Registration

SMS OTP verification with CNIC/Passport differentiation for locals vs foreigners.

🔐 Role Selection

Business Owner (apply for plots) vs Authorized Representative (link existing unit).

📄 Application Lifecycle

Soft Gate, PAC, allotment, PAL issuance, lease execution with automated expiry and NUC calculations.

📸 Zone Operations

GPS demarcation, construction progress tracking, site vacancy assessments via mobile app.

Test API: /api/

📦 Deployment Instructions

The Flutter web app needs to be built locally and uploaded:

  1. On a machine with Flutter SDK: flutter build web --release in the frontend/ directory.
  2. Upload build/web/* to the server's /var/www/asaankarobar/.
  3. Set permissions: sudo chown -R www-data:www-data /var/www/asaankarobar/*.html /var/www/asaankarobar/main.dart.js /var/www/asaankarobar/flutter*.js /var/www/asaankarobar/canvaskit /var/www/asaankarobar/icons
  4. Reload Nginx: sudo systemctl reload nginx

See DEPLOYMENT_FLUTTER.md for full details.