Skip to content

EnLabSoftware/real-time-messaging

Repository files navigation

Author

👤 Trong Pham

Installation

  • Visual Studio 2019 with the ASP.NET and web development workload
  • .NET core 3.1 SDK or later
  • Exposes local servers to the public internet by Ngrok

How to run the app

  1. Open Visual Studio 2019
  2. Open WebSocketService.cs file
  3. Add your AWS WebSocket Endpoint, AccessKeyId, SecretAccessKey
  4. Build and run the app
  5. Open ngrok.exe and run this command
    >ngrok http -host-header="localhost:23409" 23409
  6. Update the new ngrok endpoint to your AWS Websocket config that includes $connect, $sendMessage, $disconnect.
  7. Open the index.html file in UI folder
  8. Add your AWS WebSocket Endpoint
  9. Run index.html to see the simple chat room

Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages