Skip to content

pthpv95/signalr-chat-app

Repository files navigation

Simple chat application for self taught .NET tech.

Demo

Alt Text

Prerequisite

Steps to run

  • Update the connection string in appsettings.json for each service
  • Run dotnet build root.sln to build whole solution.
  • Run setup.sql migration script to init databases.
  • BE: cd to identity-server and chat-services then run dotnet run
  • FE: cd web && npm install (node 12) && npm run start

Docker

For testing purpose:

  • Backend: Rename file .env.sample to .env then run docker-compose up -d
  • Frontend: cd web && npm install && npm run start
  • Open browser on http://localhost:8080

Technologies and frameworks used:

  • ASP.NET MVC Core 3.1
  • Entity Framework Core 3.1
  • ASP.NET Identity Core 3.1
  • IdentityServer4
  • SignalR for notification
  • Vue 2

Deployment: All services are deployed on free hosting services