Talk - E2EE Chat Application Backend

Demo

End to End Encrypted Chat Application

This application isn't meant to be a production grade chat application that would use E2EE system, but is a way to see how would you implement it in MENN stack.

You can Read More about how the system works from the blog I wrote here: Comming Soon

This is Backend Part of Project. For Frontend Code for the project Goto Frontend Repository

Technology Stack

  • Language: JavaScript
  • Web Socket: Socket.io
  • Frontend: NextJS
  • Backend Runtime: NodeJs

How to Run

Clone the Repository

git clone talk/backend

Navigate to Folder

cd talk/backend

Install Dependencies

npm install

Run the Server

npm run dev

FAQ

Is this a Production Grade Chat Application?

No. This Application was created so that I could better understand how Public Key Cryptography Works

Is this the only way to create an End to End Encryption Chat Application?

Ofcourse Not! There probably are much better ways to do so, but this is how I did it. There aren't much information on creating such appliation available online so this is One of many ways to do so.

Is there a Frontend for the project?

Yes. The project is a Full Stack Application. Goto Frontend Repository

Demo GIF

Note

You can play with the code as much as you want. The only thing I discourage is cloning the repository and distributing the project as a college assignment of anykind