Migrate from Supabase to Appwrite with core functionality and UI components

This commit is contained in:
hansoo
2025-05-05 08:58:27 +09:00
parent fdfdf15166
commit f83bb384af
79 changed files with 2373 additions and 199 deletions

15
update-supabase-imports.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Supabase import 경로를 archive 폴더로 변경하는 스크립트
echo "Supabase import 경로를 archive 폴더로 변경합니다..."
# 프로젝트 루트 디렉토리 설정
PROJECT_ROOT="/Users/hansoo./Dev/zellyy-finance"
# 모든 .ts 및 .tsx 파일에서 Supabase import 경로 변경
find "$PROJECT_ROOT/src" -type f \( -name "*.ts" -o -name "*.tsx" \) -not -path "*/archive/*" | xargs grep -l "from '@/lib/supabase'" | while read -r file; do
echo "파일 수정 중: $file"
sed -i '' "s|from '@/lib/supabase'|from '@/archive/lib/supabase'|g" "$file"
done
echo "완료! Supabase import 경로가 archive 폴더로 변경되었습니다."