{"id":51540514,"url":"https://github.com/aritrac1/zing","last_synced_at":"2026-07-09T13:01:38.206Z","repository":{"id":360279882,"uuid":"1175046373","full_name":"AritraC1/Zing","owner":"AritraC1","description":"Zing is a real-time communication platform with a React/Vite frontend and Node.js + Express backend. It supports authentication, messaging, audio/video calls, file sharing, and notifications, with the project split into client/ (frontend) and server/ (backend) folders in one repository.","archived":false,"fork":false,"pushed_at":"2026-07-04T05:59:25.000Z","size":1760,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-04T07:21:31.395Z","etag":null,"topics":["authentication","chat-application","express","full-stack-web-development","javascript","jwt","nodejs","postgresql","reactjs","real-time"],"latest_commit_sha":null,"homepage":"https://zing-chat-web.vercel.app","language":"JavaScript","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/AritraC1.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-07T06:35:29.000Z","updated_at":"2026-07-04T05:59:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/AritraC1/Zing","commit_stats":null,"previous_names":["aritrac1/zing"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AritraC1/Zing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AritraC1%2FZing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AritraC1%2FZing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AritraC1%2FZing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AritraC1%2FZing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AritraC1","download_url":"https://codeload.github.com/AritraC1/Zing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AritraC1%2FZing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35299763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-09T02:00:07.329Z","response_time":57,"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":["authentication","chat-application","express","full-stack-web-development","javascript","jwt","nodejs","postgresql","reactjs","real-time"],"created_at":"2026-07-09T13:01:36.570Z","updated_at":"2026-07-09T13:01:38.201Z","avatar_url":"https://github.com/AritraC1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zing\n\nZing is a real-time communication platform with a React/Vite frontend and an Express-based backend. The app includes authentication, live chat, media sharing, and real-time socket events for a modern messaging experience.\n\n![Landing page](client/src/assets/images/landing.png)\n\n## Overview\n\nThe repository is split into two main parts:\n\n- Client: a React application with Redux Toolkit, Socket.IO client, routing, and UI for auth, chat, calls, profile, and user discovery.\n- Server: an Express API plus Socket.IO server backed by PostgreSQL, Redis, JWT auth, Swagger docs, and media uploads.\n\n## Key Features\n\n- JWT access/refresh token handling with cookie-based auth\n- Real-time one-to-one chat with socket-driven delivery/read states\n- Media upload support through Multer and Cloudinary\n- Redux state management with persistence for session-aware UI\n- Swagger API documentation for backend endpoints\n- Signal-compatible crypto dependencies for secure messaging workflows\n\n## Tech Stack\n\n| Layer | Technologies |\n| --- | --- |\n| Frontend | React 19, Vite, Tailwind CSS, Redux Toolkit, Redux Persist, Socket.IO Client |\n| Backend | Node.js, Express 5, Socket.IO, PostgreSQL, Redis, Swagger |\n| Auth \u0026 Security | JWT, bcrypt, cookie auth, Firebase integration |\n| Media \u0026 Utilities | Cloudinary, Multer, Axios, UUID, Zod |\n\n## Repository Structure\n\n```text\n/\n  README.md\n  dev.sh\n  docker-compose.yaml\n  client/\n    package.json\n    src/\n      app/\n      core/\n      features/\n      shared/\n      store/\n  server/\n    package.json\n    index.js\n    config/\n    middlewares/\n    modules/\n    shared/\n```\n\n## Prerequisites\n\n- Node.js 18+ (20+ recommended)\n- npm\n- PostgreSQL\n- Redis\n- Docker and Docker Compose (optional, for local infrastructure)\n\n## Environment Variables\n\n### Server\n\nCreate a .env file in the server folder with values such as:\n\n```env\nPORT=5001\nDATABASE_URL=postgres://user:password@localhost:5432/zing\nREDIS_URL=redis://localhost:6379\nJWT_SECRET=your-access-secret\nJWT_REFRESH_SECRET=your-refresh-secret\nCLOUDINARY_CLOUD_NAME=your-cloud-name\nCLOUDINARY_API_KEY=your-api-key\nCLOUDINARY_API_SECRET=your-api-secret\n```\n\n### Client\n\nCreate a .env file in the client folder with values such as:\n\n```env\nVITE_BASE_URL=http://localhost:5001/api\nVITE_SOCKET_URL=http://localhost:5001\nVITE_QRVALUE=your-qr-value\nVITE_FIREBASE_API_KEY=your-key\nVITE_FIREBASE_AUTH_DOMAIN=your-domain\nVITE_FIREBASE_PROJECT_ID=your-project-id\nVITE_FIREBASE_STORAGE_BUCKET=your-bucket\nVITE_FIREBASE_MESSAGING_SENDER_ID=your-sender-id\nVITE_FIREBASE_APP_ID=your-app-id\nVITE_FIREBASE_MEASUREMENT_ID=your-measurement-id\n```\n\n## Running the Project\n\n### Option 1: Docker Compose\n\nThis starts PostgreSQL, Redis, the backend, and the frontend together.\n\n```bash\ndocker compose -f docker-compose.yaml up --build\n```\n\n- Frontend: http://localhost:5173\n- Backend: http://localhost:5001\n- Swagger: http://localhost:5001/api-docs\n\n### Option 2: Local Development\n\n1. Install dependencies\n\n```bash\ncd client \u0026\u0026 npm install\ncd ../server \u0026\u0026 npm install\n```\n\n2. Start infrastructure services\n\nIf you are not using Docker, make sure PostgreSQL and Redis are running locally.\n\n3. Start the backend\n\n```bash\ncd server\nnpm run start\n```\n\n4. Start the frontend\n\n```bash\ncd client\nnpm run dev\n```\n\nYou can also use the helper script:\n\n```bash\n./dev.sh\n```\n\n## Available Scripts\n\n### Client\n\n```bash\ncd client\nnpm run dev      # start Vite dev server\nnpm run build    # create production build\nnpm run lint     # run ESLint\nnpm run test     # run Vitest tests\n```\n\n### Server\n\n```bash\ncd server\nnpm run start    # start the Express server\nnpm run migrate  # run database migrations\n```\n\n## API and Real-Time Notes\n\n- API routes are mounted under /api.\n- Swagger documentation is available at /api-docs on the backend.\n- Socket.IO is configured for real-time messaging and uses CORS for the Vite frontend.\n- Authentication tokens are attached through Axios interceptors and socket auth middleware.\n\n---","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritrac1%2Fzing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faritrac1%2Fzing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faritrac1%2Fzing/lists"}