{"id":31754629,"url":"https://github.com/nahidcseru/nodejs-socketio-chat-application","last_synced_at":"2026-04-10T06:49:07.868Z","repository":{"id":318688109,"uuid":"1072246646","full_name":"NahidCSERU/nodejs-socketio-chat-application","owner":"NahidCSERU","description":"Real-time Chat Application built with Node.js and Socket.io, enhanced with Docker and Jenkins CI/CD pipeline for deployment automation. Demonstrates hands-on DevOps skills including containerization, CI/CD, environment management, and project documentation.","archived":false,"fork":false,"pushed_at":"2025-10-08T15:38:15.000Z","size":1526,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T17:50:39.831Z","etag":null,"topics":["docker","github","jenkins","nodejs","socketio"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/in/nahiddevops/","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/NahidCSERU.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":"2025-10-08T13:08:05.000Z","updated_at":"2025-10-08T15:54:15.000Z","dependencies_parsed_at":"2025-10-08T17:50:44.014Z","dependency_job_id":"eb2a4d40-a6f5-4e35-8310-39fad9c04843","html_url":"https://github.com/NahidCSERU/nodejs-socketio-chat-application","commit_stats":null,"previous_names":["nahidcseru/nodejs-socketio-chat-application"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/NahidCSERU/nodejs-socketio-chat-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NahidCSERU%2Fnodejs-socketio-chat-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NahidCSERU%2Fnodejs-socketio-chat-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NahidCSERU%2Fnodejs-socketio-chat-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NahidCSERU%2Fnodejs-socketio-chat-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NahidCSERU","download_url":"https://codeload.github.com/NahidCSERU/nodejs-socketio-chat-application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NahidCSERU%2Fnodejs-socketio-chat-application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001943,"owners_count":26083226,"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-10-09T02:00:07.460Z","response_time":59,"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":["docker","github","jenkins","nodejs","socketio"],"created_at":"2025-10-09T18:21:59.518Z","updated_at":"2025-10-09T18:22:00.320Z","avatar_url":"https://github.com/NahidCSERU.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node.js Socket.io Chat App - DevOps Setup\n\nThis project is a **real-time chat application** built with Node.js and Socket.io, originally from [RaoofJM/nodejs-socketio-chat-application](https://github.com/RaoofJM/nodejs-socketio-chat-application).  \n\nI have **enhanced it with Docker and Jenkins CI/CD pipeline** for DevOps demonstration.\n\n\n\n## **Features Added (DevOps)**\n\n- **Dockerized Node.js Application**\n  - Added `Dockerfile` for containerization\n  - Runs the app on port `3000` in a Docker container\n- **Jenkins CI/CD Pipeline**\n  - Added `Jenkinsfile` to:\n    - Pull code from GitHub\n    - Install dependencies\n    - Run tests (`npm test`, `npm lint`)\n    - Build Docker image\n    - Run Docker container\n\n## **Prerequisites**\n\n- Docker\n- Docker Compose (optional)\n- Jenkins server\n- Node.js 18+ (for local testing)\n\n\n\n## **How to Run**\n\n### **1. Clone Project**\n```\ngit clone https://github.com/NahidCSERU/nodejs-socketio-chat-application.git\ncd nodejs-socketio-chat-application\n```\n### 2. Build Docker Image\n```\ndocker build -t nodejs-chat-app .\n```\n### 3. Run Docker Container\n```\ndocker run -d -p 3000:3000 --name nodejs-chat-app nodejs-chat-app\n```\n### 4. Access Application\n\nOpen your browser and go to:\n```\nhttp://localhost:3000\n```\n## Jenkins CI/CD Setup\n\n1. Install Jenkins with Docker plugin.\n\n2. Create a new pipeline and connect your GitHub repository.\n\n3. Jenkins will automatically:\n\n    - Checkout source code\n\n    - Install dependencies\n\n    - Run tests\n\n    - Build Docker image\n\n    - Deploy container\n\nJenkinsfile is included in the repository for full pipeline automation.\n## Project Structure\n```\nnodejs-socketio-chat-application\n├── public/\n├── .gitignore\n├── app.js\n├── Dockerfile\n├── Jenkinsfile\n├── package.json\n└── README.md\n```\n## DevOps Highlights\n\n- Containerized Node.js + Socket.io app\n\n- Automated build \u0026 deploy pipeline with Jenkins\n\n- Environment variable management\n\n- Container cleanup for production readiness\n\n- Demonstrates CI/CD, containerization, and monitoring best practices\n\n## Demo Video\n[Watch Project Demo Here](https://youtu.be/5XuKyIUNb3Q)  \n\n\n**Author / DevOps:** [Nahid Hasan](https://www.linkedin.com/in/nahiddevops/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnahidcseru%2Fnodejs-socketio-chat-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnahidcseru%2Fnodejs-socketio-chat-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnahidcseru%2Fnodejs-socketio-chat-application/lists"}