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
This commit is contained in:
2026-06-28 23:02:48 +02:00
parent 5b08f8b041
commit a1c5fecd83
117 changed files with 8619 additions and 2837 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ layer_flow() {
sub "Flow: Login"
local login_resp token
login_resp=$(fetch -X POST -H "Content-Type: application/json" \
-d '{"email":"demo@falahos.my","password":"password123"}' \
-d '{"email":"demo@falahos.my","password":"demo123"}' \
"${BASE_URL}/api/auth/login")
token=*** "$login_resp" python3 -c "import sys,json; print(json.load(sys.stdin).get('token','NO_TOKEN'))" 2>/dev/null || echo "")