Hey Citizens! We've moved to a proper VPS and got some backend improvements that should make everything run smoother. No more Render limitations, and the bot's now more responsive than ever.
🚀 Major Infrastructure
VPS Migration
Finally ditched Render and moved to our own VPS. This gives us:
- Better Performance: Faster response times and more reliable uptime
- Full Control: No more platform limitations or unexpected restarts
- Separated Services: Web app and Discord bot now run independently
- Scalability: Easy to add more resources as needed
🏢 Organization Improvements
Automatic Rank Setup
New organizations now automatically get proper rank structure:
- Leader Rank: Created automatically with management access
- Member Rank: Standard rank for new recruits
- Owner Assignment: Org creator automatically gets Leader rank
No more empty rank lists that make you wonder if the system's broken.
Enhanced Org Creation
- Description Field: Add your org's mission and goals
- Join Password: Set a password for secure recruitment
- Cleaner UI: Removed unnecessary tips section
🔧 Technical Fixes
Logo Management
Fixed the annoying logo upload/delete issues:
- Proper Storage: Logos now save correctly to Supabase
- Clean Deletion: Removed logos are properly deleted from storage
- Org Cleanup: When orgs are deleted, their logos are cleaned up too
Discord Bot Speed Boost
The bot now checks every 5 minutes instead of 15:
- Faster Notifications: Get event reminders and invites quicker
- Better Responsiveness: No more waiting 15 minutes for updates
- Same Reliability: Still prevents spam, just more frequent checks
🏗️ Backend Architecture
- Separated web app and Discord bot into independent services
- Improved monorepo structure for better code organization
- Enhanced error handling and logging
- Better environment variable management
- Optimized database queries and connection handling
The backend is now much more stable and responsive. Let us know if you notice any issues! Fly safe, Citizens!