This project consists of both a NestJS backend and a Vite React frontend for real-time messaging with end-to-end encryption using the Diffie–Hellman key exchange protocol and Prisma ORM.
The backend repository can be found here.
- Real-time messaging system
- End-to-end encryption using Diffie–Hellman key exchange
- Secure storage and retrieval of messages using Prisma ORM
- Scalable and maintainable architecture with NestJS
- Secure auth sessions system
- Node.js
- NestJS
- Prisma
-
Clone the repository:
git clone https://github.com/eduhdev12/echat-web.git
-
Install dependencies:
cd echat-web npm install
-
Set up the database connection in
.env
file:VITE_API_ENDPOINT="backend_endpoint"
-
Start the server:
npm run build && npm run preview
The frontend is built using Vite and React.
Once both the backend and frontend are set up, you can run the app and test the real-time messaging functionality
To test the application:
- Start the backend server.
- Start the frontend development server.
- Open your browser and navigate to the frontend URL.
This project is licensed under the MIT License.