Skip to content

Vansh0t/JustChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JustChat

Simple web chat made with SignalR and .NET 6 MVC. Authentication and Authorization backend is based on my JustAuth package. It also uses my small JustFile package for physical file models. PostgreSQL is used as a database with Npgsql EF Core provider.

Preview

JustChat2

Features

  1. Full authentication and authorization from my JustAuth package: Sign Up, Sign In, Sign Out, Email Verification, Email Change, Password Reset
  2. Chat restricted only to users with email verified
  3. Realtime chat messaging with SignalR
  4. Chat history is preserved in PostgreSQL
  5. Pagination for chat history (25 messages in a batch) while scrolling
  6. User profile
  7. User avatars

Setup

  1. Make sure you have .NET6 Runtime installed
  2. Create justauth.json in the root folder as described in JustAuth Setup. It is not included in release package for security reasons.
  3. Create user in PostgreSQL named v4 with password GWw51AG161XX OR edit DefaultConnection string in appsettings.json for your PostgreSQL user