{"id":17649979,"url":"https://github.com/eduhdev12/echat","last_synced_at":"2026-05-18T02:10:57.926Z","repository":{"id":239471866,"uuid":"587626370","full_name":"eduhdev12/echat","owner":"eduhdev12","description":"NestJS Real-Time Messaging Backend with Diffie–Hellman Encryption","archived":false,"fork":false,"pushed_at":"2024-05-12T16:13:18.000Z","size":864,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T08:17:11.711Z","etag":null,"topics":["backend","diffie-hellman","nestjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eduhdev12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-11T07:39:29.000Z","updated_at":"2024-05-12T16:31:09.000Z","dependencies_parsed_at":"2024-05-12T18:49:20.993Z","dependency_job_id":null,"html_url":"https://github.com/eduhdev12/echat","commit_stats":null,"previous_names":["eduhdev12/echat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eduhdev12/echat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhdev12%2Fechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhdev12%2Fechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhdev12%2Fechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhdev12%2Fechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduhdev12","download_url":"https://codeload.github.com/eduhdev12/echat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduhdev12%2Fechat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274244228,"owners_count":25248157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","diffie-hellman","nestjs"],"created_at":"2024-10-23T11:34:29.607Z","updated_at":"2026-05-18T02:10:52.906Z","avatar_url":"https://github.com/eduhdev12.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NestJS Real-Time Messaging Backend with End-to-End Encryption\n\nThis project is a NestJS backend for real-time messaging with end-to-end encryption using the Diffie–Hellman key exchange protocol and Prisma ORM.\n\n## Features\n\n- Real-time messaging system\n- End-to-end encryption using Diffie–Hellman key exchange\n- Secure storage and retrieval of messages using Prisma ORM\n- Scalable and maintainable architecture with NestJS\n- Auth and sessions system\n\n## Requirements\n\n- Node.js\n- NestJS\n- Prisma\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/eduhdev12/echat\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   cd echat\n   npm install\n   ```\n\n3. Set up the database connection in `.env` file:\n\n   ```env\n   DATABASE_URL=\"your_database_url\"\n   CLIENT_ENDPOINT=\"frontend_path\"\n   JWT_SECRET=\"randomGenerated\"\n   DH_PUBLIC_KEY=\n   DH_IV_KEY=\n   ```\n\n4. Run migrations to set up the database schema:\n\n   ```bash\n   npx prisma migrate dev\n   ```\n\n5. Start the server:\n\n   ```bash\n   npm run build \u0026\u0026 npm run start\n   ```\n\n## Usage\n\nOnce the server is running, configure the front-end with auth panel [here](https://github.com/eduhdev12/echat-web)\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n## Acknowledgements\n\n- [NestJS](https://nestjs.com/) - A progressive Node.js framework for building efficient, reliable, and scalable server-side applications.\n- [Prisma](https://www.prisma.io/) - A modern database toolkit for TypeScript and Node.js.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduhdev12%2Fechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduhdev12%2Fechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduhdev12%2Fechat/lists"}