- Go to: https://console.firebase.google.com/project/proofly-prod-cb275/settings/serviceaccounts/adminsdk
- Click "Generate new private key"
- Save the downloaded file as
service-account-key.jsonin theprooflyfolder
cd proofly
node scripts/delete-all-tasks.jsThat's it! All tasks will be deleted.
If you don't want to use the script:
- Go to: https://console.firebase.google.com/project/proofly-prod-cb275/firestore/data/tasks
- Click on each task document
- Click the three dots menu → Delete document
- Confirm deletion
- ✅ All tasks removed from Firestore
- ✅ App will show the hardcoded demo task
- ✅ Companies can create new tasks
- ✅ Students will see demo task until new ones are created
Delete only tasks:
node scripts/delete-all-tasks.jsDelete all data (tasks + submissions + receipts):
node scripts/delete-all-data.js- Deletion is irreversible
- User accounts and companies are NOT deleted
- Demo data will automatically appear when no real data exists
Need help? Check DELETE_DATA_GUIDE.md for more details.