Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Red Chat

Authors

Introduction

The Red Chat incorporates essential security features, including end-to-end encryption, to ensure that messages exchanged between users remain private and secure. By prioritizing user privacy and data protection, the application aims to provide a safe and reliable platform for secure digital communication.

Prerequisites

The Prerequisites assume you have Docker

To be able to run our program you need to create 2 .env files, one in the TheRedChat folder, and one in the TheRedChat\Backend. This is the structure you should follow, in your .env file

ConnectionStrings__DefaultConnection=Server=your-server;Database=your-database;User Id=your-username;Password=your-password;TrustServerCertificate=True;
JwtSettings__SecretKey=your-secret-key
MSSQL_SA_PASSWORD=your-password

In addition you also need to create an appsettings.json file in TheRedChat\Backend\TheRedChat. The structure should be like this:

{
  "ConnectionStrings": {
    "DefaultConnection": "Server=your-server;Database=your-database;User Id=your-username;Password=your-password;TrustServerCertificate=True;"
  },
  "JwtSettings": {
    "PublicKey": "your-public-key",
    "PrivateKey": "your-private-key",
    "Issuer": "your-issuer",
    "Audience": "your-audience"
  }
}

To create the PublicKey and PrivateKey you can use RSA Key Generator with 2048 bits.

How to run the application

Use the following command to run the application:

docker compose up --build

This command builds and starts the application using Docker Compose.

Then navigate to: http://localhost:4200/

Showcase of the application

Login screen

image

Registre screen

image

Enter Primary key, that you get after registering

image

Chat between 2 users

image

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages