Files
wmj a1c5fecd83 pivot: migrate V1 mobile from Docker to Netlify serverless
- Switch Prisma schema from SQLite to PostgreSQL
- Add netlify.toml for Netlify deployment config
- Add @netlify/plugin-nextjs for serverless Next.js
- Remove Docker build files (Dockerfile, docker-compose, start.sh)
- Remove auto-healer and scripts directories
- Update next.config.ts (remove standalone output)
- Database: falah_mobile_v1 on Contabo Postgres
2026-06-28 23:02:48 +02:00
..

Falah Mobile — QA Test Suite

CAB Change Advisory Board Protocol

CAB checkpoints ensure every deployment meets functional, security, compliance, and operational standards before release.

Test Files

File Description Usage
cab-qa.sh CAB QA Checklist — 41 checks covering deployment, functional, security, integration, compliance, performance, rollback bash tests/cab-qa.sh
regression.sh Regression Suite — 39 tests covering health, CORS, rate limiting, auth, webhooks, error handling, gateway bash tests/regression.sh

Quick Start

# Against direct container
bash tests/cab-qa.sh http://192.168.0.11:4014/mobile

# Against gateway
bash tests/cab-qa.sh http://192.168.0.11:7878/mobile

# Regression test suite
bash tests/regression.sh http://192.168.0.11:4014/mobile

CAB Checklist Sections

  1. CAB-01: Change Description & Scope
  2. CAB-02: Risk Assessment
  3. CAB-03: Deployment Verification
  4. CAB-04: Functional Testing — Public Endpoints
  5. CAB-05: Functional Testing — Authenticated Endpoints
  6. CAB-06: Security Testing (OWASP-aligned)
  7. CAB-07: Integration Testing (Gateway)
  8. CAB-08: Compliance Testing (Shariah, Data Protection)
  9. CAB-09: Performance Testing
  10. CAB-10: Rollback Plan
  11. CAB-11: Sign-Off Summary

Required Environment

  • Target: Next.js app with basePath: /mobile
  • Gateway: nginx proxy at :7878/mobile → app :4014/mobile
  • Docker: Container with --restart unless-stopped, persistent volumes, network attached