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:
@@ -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 "")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user