signalr-chat-app
signalr-chat-app copied to clipboard
A simple chat app using .NET core and Vuejs.
Simple chat application for self taught .NET tech.
Demo
- Site: https://hpchatapp.netlify.app
- Accounts: [email protected] / [email protected]
- Password: 123456
Prerequisite
- Postgres
- .NET Core SDK 3.1.302
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
andchat-services
then rundotnet run
- FE:
cd web && npm install (node 12) && npm run start
Docker
For testing purpose:
- Backend: Rename file
.env.sample
to.env
then rundocker-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