Websocket Chat: C# .net core + Angular
DEMO: https://wschat-backend.herokuapp.com
git clone git@github.com:silvioramalho/WSChat-Dev.git
cd WSChat-Dev/Backend
dotnet restore
dotnet run --project src/WSChat.Backend.API/WSChat.Backend.API.csproj
Note: The websocket server will be available on => ws:localhost:5000/ws
dotnet test tests/WSCHat.Backend.Tests/WSCHat.Backend.Tests.csproj
Open in Google Chrome the file: `tests/webClient/index.html`
docker build -t wschat-backend-img .
docker run -it --rm -p 5000:80 wschat-backend-img
Simple websocket client for chat.
cd WSChat-Dev/Frontend
npm install
ng serve
Note: The frontend will be available on => http://localhost:4200/chat/register
The Dockerfile found in the root directory joins the frontend and the backend in a single container.
To generate it, you need to build the frontend app before running the command below:
docker build -t
<name-docker-image>.
Note: The Dockerfile inside the Backend directory generates a container with Backend only. more info