{"id":24750028,"url":"https://github.com/holasoymas/whatsapp","last_synced_at":"2026-04-12T10:42:44.567Z","repository":{"id":274449675,"uuid":"916598694","full_name":"holasoymas/whatsapp","owner":"holasoymas","description":"A simple minimilistic whatsapp like web app","archived":false,"fork":false,"pushed_at":"2025-01-27T11:16:28.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T12:29:28.359Z","etag":null,"topics":["chat-application","js","nodejs","prisma-orm","private-messaging","real-time","socket-io","whatsapp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/holasoymas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-01-14T12:15:24.000Z","updated_at":"2025-01-27T11:16:31.000Z","dependencies_parsed_at":"2025-01-27T12:39:44.806Z","dependency_job_id":null,"html_url":"https://github.com/holasoymas/whatsapp","commit_stats":null,"previous_names":["holasoymas/whatsapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holasoymas%2Fwhatsapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holasoymas%2Fwhatsapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holasoymas%2Fwhatsapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holasoymas%2Fwhatsapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holasoymas","download_url":"https://codeload.github.com/holasoymas/whatsapp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245048838,"owners_count":20552577,"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","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":["chat-application","js","nodejs","prisma-orm","private-messaging","real-time","socket-io","whatsapp"],"created_at":"2025-01-28T08:56:00.840Z","updated_at":"2025-12-30T22:51:59.832Z","avatar_url":"https://github.com/holasoymas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple minimilistic Real-Time Messaging App (WhatsApp-like)\n\nA simple, real-time messaging app built with **Node.js**, **Prisma**, **PostgreSQL**, and **Socket.IO**. This app allows users to search for other users and start private messaging in real-time.\n\n## Features\n\n- Real-time private messaging using **Socket.IO**\n- User search functionality\n- Simple, intuitive messaging interface\n- Built with **Node.js**, **PostgreSQL**, and **Prisma**\n- **PNPM** for package management\n\n## Technologies Used\n\n- **Node.js** - Server-side JavaScript\n- **Prisma** - ORM for interacting with PostgreSQL\n- **PostgreSQL** - Database for storing user and message data\n- **Socket.IO** - Real-time bidirectional event-based communication\n- **PNPM** - Fast and efficient package manager\n\n## Prerequisites\n\nBefore setting up the app locally, ensure you have the following installed:\n\n1. **Node.js** (version 14 or higher) - [Download Node.js](https://nodejs.org/en/download/)\n2. **PNPM** (package manager) - [Install PNPM](https://pnpm.io/installation)\n3. **PostgreSQL** - [Install PostgreSQL](https://www.postgresql.org/download/)\n\n## Setup Instructions\n\nFollow these steps to set up the app locally on your machine:\n\n### 1. Clone the repository\n\nClone the repository to your local machine:\n\n```bash\ngit clone https://github.com/holasoymas/whatsapp.git\ncd whatsapp\n```\n\n### 2. Install dependencies\n\nGo to your root directory and type\n\n```bash\npnpm install\n```\n\nto install dependencies\n\n### 3. Set up PostgreSQL database\n\nMake sure your PostgreSQL server is running. You can use the default credentials or create your own.\n\nCreate a new database\n\n```bash\npsql -U postgres\nCREATE DATABASE whatsapp;\n```\n\n- Create a `.env` file in the root of the project to store environment variables. Add the following line to configure the database connection along with other env variables\n\n```\nPORT=8000\nJWT=YOUR_SECRET_TOKEN\nEMAIL=your@examplegmail.com\nGOOGLE_PASS=\"GOOGLE_PASS_KEYS_FOR_SENDING_EMAIL\"\nDB_NAME=YOUR_DB_NAME\nDB_USER=YOUR_DB_USERNAME\nDB_PASS=YOUR_DB_PASS\nSECRET_SESSION=YOUR_SECRET_SESSION\n\n# This was inserted by `prisma init`:\n# Environment variables declared in this file are automatically made available to Prisma.\n# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema\n\n# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.\n# See the documentation for all the connection string options: https://pris.ly/d/connection-strings\n\nDATABASE_URL=\"postgresql://\u003cuser-name\u003e:\u003cuser-password\u003e@localhost:5432/whatsapp?schema=public\"\n```\n\n### 4. Run Prisma migrations\n\nRun Prisma to generate the necessary tables and schema in the database:\n\n```bash\npnpm prisma migrate dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholasoymas%2Fwhatsapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholasoymas%2Fwhatsapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholasoymas%2Fwhatsapp/lists"}