mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 12:27:09 +01:00
- Move 100+ files from root to proper directories - Migration scripts → scripts/db/ - SQL files → supabase/sql/archive/ - Test/debug scripts → scripts/test/ - Documentation → docs/archive/ (organized by category) - Shell scripts → scripts/ (organized by category) - Fix test organization - Remove nested tests/unit/tests/unit/ structure - Consolidate test files to proper locations - Update documentation references - Update migration script paths in workflow docs - Update scripts/README.md with moved file notes - Delete placeholder files - Remove empty placeholder.ipynb - Result: Root directory now contains only essential config files - Result: Professional, organized codebase structure - Result: All files in proper locations per project standards See docs/CLEANUP_COMPLETE.md for full details.
25 lines
691 B
Bash
Executable File
25 lines
691 B
Bash
Executable File
#!/bin/bash
|
|
# Test profile save with authentication
|
|
|
|
# First, let's see if we can access the profile endpoint
|
|
echo "Testing profile save..."
|
|
|
|
# Get auth cookies from browser (you'll need to be logged in)
|
|
# For now, let's just trigger a request to see server logs
|
|
|
|
curl -X PUT http://localhost:3000/api/profile \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"username": "testuser",
|
|
"name": "Test User",
|
|
"bio": "Test bio",
|
|
"location": "Zurich, Switzerland",
|
|
"website": "https://example.com",
|
|
"contact_email": "test@example.com"
|
|
}' \
|
|
-w "\nHTTP Status: %{http_code}\n" \
|
|
-s | jq '.' || cat
|
|
|
|
echo ""
|
|
echo "Check server logs above for detailed validation errors"
|