← Назад на главную
Интеграции с бэкендом
Авторизуйтесь через Telegram initData и синхронизируйте настройки пользователя с базой данных. Ваша тема и настройки сохраняются между сессиями.
🔐 Authentication
Click the button below to authenticate with Telegram's initData. The backend will validate the data using HMAC-SHA256 and create a secure session.
⚙️ Preferences Management
Please authenticate first to manage preferences.
🔄 Persistence Demo
Test the full round-trip: update preferences → reload page → preferences restored from database.
- Change theme or reduced motion setting above
- Click "Save Preferences" (syncs to database)
- Click "Reload Page" below
- Observe that your preferences are restored after reload
💡 Preferences persist across sessions because they're stored in the database, not just in localStorage or memory.