Skip to content

839928622/chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

chat-app

simple real time chat app base on signal-r

Development

Add Migration(s)

add migrations(s) by dotnet ef

dotnet ef migrations add MigrationName -p Infrastructure  -s ChatHub.API -c ChatAppContext -o Persistence\Migrations

or add migrations(s) in Visual Studio

PM> Add-Migration Migration(s)Name -Project Infrastructure -StartupProject ChatHub.API -Context ChatAppContext -OutputDir "Persistence\Migrations"

ChatApp rely on redis and rabbitmq

run redis using docker

docker run --name myredis -d redis redis-server --save 60 1 --loglevel warning -p 6379:6379

run rabbitmq using docker

docker run -d -p 15672:15672 -p 5672:5672 -p 5671:5671 --hostname my-rabbitmq --name my-rabbitmq-container rabbitmq:3-management

Entity Relationship Diagram

you also can view it on draw.io

Cache Strategy

chatting image

Thanks for the following packages

Main Tech Detail Description
back-end: .NET Core efcore powerful orm data access tool
Mapster light weight object mapping tool
AspNetCore.Identity user managerment and signin managerment
AspNetCore.SignalR real time communication library for server -
front-end: Angular ngx-gallery photo gallery
microsoft/signalr real time communication library for client in typescript
ngx-translate/core i18n core
ngx-translate/http-loader i18n http loader
ng2-file-upload file upload control

About

simple real time chat app base on signal-r

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published