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.
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.
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/



