Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 807 Bytes

File metadata and controls

21 lines (16 loc) · 807 Bytes

Server

API supports the following requests:

  • Log in/out
  • Tweet
  • Register user
  • Retweet
  • Subscribe to user
  • Query tweets by subscribed to, hashtag, or mentions

WebSockets

Suave.io WebSocket connections are established upon request from client users.

Akka actors are spawned for each socket in the corresponding WebSocket handler. These actors listen for new tweet broadcasts from the main server actor and forward their contents to the client via the WebSocket.

User interface

A simple UI for interacting with the API endpoints and establishing WebSocket connections is available via the index.html file and served to localhost:8080 upon running the server.

Command to run

dotnet run