A simple real-time chat app built in SwiftUI that demonstrates:
- User authentication (Register/Login using ReqRes API)
- Real-time messaging using WebSockets
- Clean MVVM structure with async/await support
- β Register or Login using email and password
- π¬ Send & receive real-time messages
- π Uses public WebSocket server (
wss://ws.ifelse.io) - π§© Lightweight, beginner-friendly networking architecture
Use these credentials for testing the login & register flow:
Register POST https://reqres.in/api/register
email: eve.holt@reqres.in
password: pistol
Login
POST https://reqres.in/api/login
email: eve.holt@reqres.in
password: cityslicka
- SwiftUI
- Combine
- URLSession
- WebSocket API