Clients - peer-network/peer_backend GitHub Wiki
💻 Clients Overview — Android, iOS, WebApp
Peer Network includes three client applications that connect to the backend GraphQL API:
- 📱 Android app (Kotlin)
- 🍎 iOS app (Swift)
- 🌐 WebApp (Vanilla JavaScript Framework)
All clients support:
- User onboarding and authentication
- Content creation (posts, comments)
- Profile management (update bio, username, image)
- Token rewards and wallet display
- Follow/block actions and referrals
🔗 Shared Integration Details
Feature | Details |
---|---|
API Communication | All clients use the same GraphQL API |
Authentication | JWT stored locally after login |
Referrals | Optional referralUuid passed on signup |
Realtime Chat | Planned for all platforms (not live yet) |
Versioning | Each client follows backend MINOR version |
Blockchain Features | Token balances, transfers (iOS only) |
📱 Android
- Built with Kotlin
- Uses Apollo/GraphQL client for Android
- Supports user registration, login, posting, profile editing
🛠 Current Limitations:
- Real-time messaging is not yet implemented
- Push notifications are not yet supported
- Token transfer is not available yet
🍏 iOS
- Built with Swift
- GraphQL integrated with codegen schema types
- Supports user flows, posts, profile editing, and wallet
🛠 Current Limitations:
- Push notifications are not yet implemented
- Real-time messaging is not yet available
- ✅ Token transfer is fully implemented
🌐 WebApp
- Built with a vanilla JavaScript framework
- GraphQL integration using a lightweight custom setup
- Supports posts, login, wallet, comments, and referrals
🛠 Note: Realtime chat and advanced media upload are planned.
🧭 Where to Go Next
Use the platform-specific pages below for deeper setup and architecture info: