feat: Add prayer chains, social sharing, and testimony wall

- Add PrayerChain component for visualizing linked prayers
- Add SharePrayer component with social media integration (Twitter, Facebook, WhatsApp, copy link)
- Create /testimonies page for public answered prayer stories
- Update Firestore rules for public testimony access
- Enhance Organization tab with prayer chains
- Add Testimonies navigation tab
- Fix Firebase Admin SDK integration for server-side operations
- Improve email system with proper server-side authentication
- Update prayer form to handle optional fields correctly
- Deploy updated Firestore security rules
This commit is contained in:
nmemmert committed 2025-12-17 13:50:21 -05:00
1 parent 7214fdb89a
commit d9784738e4
32 files changed
+3146 -3236

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
// Setup SMTP configuration via browser Admin panel
// This is the easiest method!
console.log('🔧 SMTP Configuration Setup for Prayer App');
console.log('==========================================\n');
console.log('📋 The easiest way to configure SMTP is through the Admin panel:');
console.log('');
console.log('1. Open your browser and go to: http://localhost:3000/admin');
console.log('2. Log in with an admin account');
console.log('3. Look for the "SMTP Configuration" section');
console.log('4. Fill in your email provider details:');
console.log('');
console.log(' For Gmail:');
console.log(' - Host: smtp.gmail.com');
console.log(' - Port: 587');
console.log(' - Secure: unchecked');
console.log(' - Username: your-gmail@gmail.com');
console.log(' - Password: your Gmail App Password');
console.log(' - From Email: your-gmail@gmail.com');
console.log('');
console.log(' For Outlook:');
console.log(' - Host: smtp-mail.outlook.com');
console.log(' - Port: 587');
console.log(' - Secure: unchecked');
console.log(' - Username: your-email@outlook.com');
console.log(' - Password: your Outlook password');
console.log(' - From Email: your-email@outlook.com');
console.log('');
console.log('5. Click "Save SMTP Configuration"');
console.log('6. Test with: node test-email.js');
console.log('');
console.log('💡 To get Gmail App Password:');
console.log(' https://myaccount.google.com/apppasswords');
console.log(' (Enable 2FA first, then generate App Password for "Mail")');