Skip to content

swifty-amay/ChatDuo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’¬ SwiftUI Chat App (with WebSocket + Authentication)

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

🧠 Features

  • βœ… 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

πŸ”‘ Test Credentials (ReqRes API)

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


πŸš€ Tech Stack

  • SwiftUI
  • Combine
  • URLSession
  • WebSocket API

πŸ§‘β€πŸ’» AuthorCreated by **Amay Srivastav

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages