{"id":25861213,"url":"https://github.com/balaganapathitech/whatapplld","last_synced_at":"2026-04-13T18:01:52.678Z","repository":{"id":280118029,"uuid":"941035784","full_name":"BalaganapathiTech/WhatappLLD","owner":"BalaganapathiTech","description":"This project implements a basic WhatsApp-like messaging system using Java, JDBC, and SQL. It allows users to register, send encrypted messages, post/view stories, and retrieve messages securely using AES encryption. The messages are stored in a MySQL database and can only be decrypted by the intended recipient, ensuring end-to-end encryption.","archived":false,"fork":false,"pushed_at":"2025-03-01T10:37:59.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-01T11:27:02.165Z","etag":null,"topics":["database","lld","sql","whatsapp"],"latest_commit_sha":null,"homepage":"","language":"Java","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/BalaganapathiTech.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":"2025-03-01T10:26:58.000Z","updated_at":"2025-03-01T11:09:37.000Z","dependencies_parsed_at":"2025-03-01T11:37:18.878Z","dependency_job_id":null,"html_url":"https://github.com/BalaganapathiTech/WhatappLLD","commit_stats":null,"previous_names":["balaganapathitech/whatapplld"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BalaganapathiTech/WhatappLLD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalaganapathiTech%2FWhatappLLD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalaganapathiTech%2FWhatappLLD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalaganapathiTech%2FWhatappLLD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalaganapathiTech%2FWhatappLLD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BalaganapathiTech","download_url":"https://codeload.github.com/BalaganapathiTech/WhatappLLD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BalaganapathiTech%2FWhatappLLD/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267417664,"owners_count":24083839,"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-07-27T02:00:11.917Z","response_time":82,"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":["database","lld","sql","whatsapp"],"created_at":"2025-03-01T23:32:36.453Z","updated_at":"2026-04-13T18:01:52.649Z","avatar_url":"https://github.com/BalaganapathiTech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"**📌 Features**\n✅ **User Registration** – Users can sign up with a username \u0026 password.  \n✅ **End-to-End Encrypted Messaging** – Messages are securely stored \u0026 only readable by the intended recipient.  \n✅ **View Messages** – Retrieve \u0026 decrypt received messages.  \n✅ **Post \u0026 View Stories** – Users can share stories visible to all.  \n✅ **Secure Storage** – Data is stored in MySQL using JDBC.\n\n---\n\n**🛠️ Technologies Used**\n- **Programming Language:** Java  \n- **Database:** MySQL  \n- **JDBC:** For database connectivity  \n- **Security:** AES Encryption for secure messaging  \n- **GitHub:** Version control  \n\n---\n\n**📥 Installation \u0026 Setup**\n1️⃣ **Clone the Repository**  \n```bash\ngit clone https://github.com/BalaganapathiTech/WhatappLLD.git\ncd WhatsappLLD\n```\n2️⃣ **Setup MySQL Database**\n- Create a database named `WhatsAppDB`.\n- Run the provided SQL script (`schema.sql`) to set up tables.\n\n3️⃣ **Configure Database Connection**\n- Update `DBConfig.java` with your MySQL credentials:\n```java\nprivate static final String URL = \"jdbc:mysql://localhost:3306/WhatsAppDB\";\nprivate static final String USER = \"root\";\nprivate static final String PASSWORD = \"your_password\";\n```\n\n**📌 How It Works**\n**1️⃣ User Registration**\n```plaintext\nEnter Username: BalaGanapathi\nEnter Password: ********\n✅ User registered successfully!\n```\n\n**2️⃣ Send an Encrypted Message**\n```plaintext\nEnter Sender ID: 1\nEnter Receiver ID: 2\nEnter Message: Hello, how are you?\n📩 Message sent successfully!\n```\n\n**3️⃣ View Messages (Decrypted)**\n```plaintext\nEnter Your User ID: 2\n📩 Your Messages:\nFrom User 1: Hello, how are you?\n```\n\n---\n\n**🔐 Security (End-to-End Encryption)**\n- Messages are encrypted using **AES encryption** before storing in the database.  \n- Only the **recipient** can decrypt and read the message.  \n- Ensures **privacy \u0026 security** of user communications.  \n\n---\n\n**📜 Database Schema (MySQL)**\n```sql\nCREATE TABLE users (\n    user_id INT AUTO_INCREMENT PRIMARY KEY,\n    username VARCHAR(255) UNIQUE NOT NULL,\n    password VARCHAR(255) NOT NULL\n);\n\nCREATE TABLE messages (\n    message_id INT AUTO_INCREMENT PRIMARY KEY,\n    sender_id INT,\n    receiver_id INT,\n    encrypted_message TEXT,\n    FOREIGN KEY (sender_id) REFERENCES users(user_id),\n    FOREIGN KEY (receiver_id) REFERENCES users(user_id)\n);\n```\n\n---\n\n**📌 Future Enhancements**\n✅ Real-time messaging using WebSockets  \n✅ Multimedia support (images, videos)  \n✅ User status \u0026 last seen  \n✅ Friend requests \u0026 blocking  \n\n---\n\n**💡 Contributing**\n1. Fork the repo  \n2. Create a new branch (`feature-branch`)  \n3. Commit your changes  \n4. Open a pull request  \n\n---\n\n**📜 License**\nThis project is **open-source**\n\n📬 **Questions?** Feel free to raise an issue or contact me! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalaganapathitech%2Fwhatapplld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbalaganapathitech%2Fwhatapplld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbalaganapathitech%2Fwhatapplld/lists"}