{"id":23391472,"url":"https://github.com/uj5ghare/devops-engineer-project","last_synced_at":"2026-04-04T20:33:04.945Z","repository":{"id":267022767,"uuid":"900047098","full_name":"Uj5Ghare/DevOps-Engineer-Project","owner":"Uj5Ghare","description":"DevOps Engineer Project","archived":false,"fork":false,"pushed_at":"2024-12-16T14:25:09.000Z","size":315,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T14:50:56.573Z","etag":null,"topics":["docker","docker-scout","git","github-actions","kubernetes"],"latest_commit_sha":null,"homepage":"https://docs.google.com/document/d/1Wmnl51IzMLck-hMvmdoUgPlXWP_N99nSsWrRmMukQL0/edit?tab=t.0#heading=h.af80tl7prv5v","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Uj5Ghare.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":"2024-12-07T18:07:37.000Z","updated_at":"2025-03-01T08:14:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8d471b2-32ef-4d6d-8c1e-ad015ec1343c","html_url":"https://github.com/Uj5Ghare/DevOps-Engineer-Project","commit_stats":null,"previous_names":["uj5ghare/devops-engineer-assignment","uj5ghare/devops-engineer-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Uj5Ghare/DevOps-Engineer-Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uj5Ghare%2FDevOps-Engineer-Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uj5Ghare%2FDevOps-Engineer-Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uj5Ghare%2FDevOps-Engineer-Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uj5Ghare%2FDevOps-Engineer-Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Uj5Ghare","download_url":"https://codeload.github.com/Uj5Ghare/DevOps-Engineer-Project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Uj5Ghare%2FDevOps-Engineer-Project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260684164,"owners_count":23046102,"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":["docker","docker-scout","git","github-actions","kubernetes"],"created_at":"2024-12-22T04:17:46.348Z","updated_at":"2025-12-30T22:30:20.062Z","avatar_url":"https://github.com/Uj5Ghare.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevOps-Engineer-Project\n\nThis project consists of two parts: a ReactJS frontend and a NodeJS backend.\n\n## 👨‍💻Frontend (ReactJS) \u003cbr\u003e\nThis ReactJS application provides the user interface for the application.\n\n#### Getting Started\n\nClone the repository:\n\n```\ngit clone https://github.com/Uj5Ghare/DevOps-Engineer-Project.git\n```\n\nNavigate to the frontend directory:\n```\ncd frontend\n```\n\nInstall dependencies:\n```\nnpm install\n```\n\nRun the application:\n\n```\nnpm start\n```\n\nThis will start the development server and open the application in your browser at http://localhost:3000/.   \n\n**Build for Production To create an optimized build for production deployment.** \n\u003cbr\u003e\n**run:**\n```\nnpm run build\n```\n\nThis will create a production-ready build in the build directory.\n\u003cbr\u003e\n\u003cbr\u003e\n## ⌨️Backend (NodeJS)\nThis NodeJS application provides the backend logic and API endpoints for the application.\n\n#### Getting Started\nClone the repository (if not already done):\n```\ngit clone https://github.com/Uj5Ghare/DevOps-Engineer-Project.git\n```\n\nNavigate to the backend directory:\n```\ncd backend\n```\n\nInstall dependencies:\n```\nnpm install\n```\n\nStart the development server:\n```\nnpm start\n```\n\nThis will start the backend server and listen for API requests on http://localhost:8000/\n\u003cbr\u003e\n#### New API Endpoint: `/status`\nThe backend provides a new API endpoint at `/status` that provides information about the application's current state and uptime.\n\n#### Testing\nThe backend has integrated simple test case. \n\u003cbr\u003e\nTo run the tests:\n```\nnpm test\n```\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n## 🐙GitHub Workflow\nThis workflow automates building, testing, deploying, and securing of ReactJS frontend and NodeJS backend applications.\n\n### Workflow Triggers\nPushes to branches main and dev that modify files in:\n- `.github/workflows/main.yml` (the workflow itself)\n- `frontend/` directory\n- `backend/` directory\n- `k8s/manifests/**/*` directory\n- Pull requests to the main branch\n\n### Workflow Jobs\n**Build-And-Test (runs on pull requests):** \u003cbr\u003e\n- Tests the backend code (requires `backend/` directory) \u003cbr\u003e\n\n**Push-To-DockerHub-Frontend (frontend changes):**\n\u003cbr\u003e\n- Builds and pushes a Docker image for the frontend application \u003cbr\u003e\n\n**Image-Vuln-Check-Frontend (frontend changes):**\n\u003cbr\u003e\n- Scans the built frontend Docker image for vulnerabilities \u003cbr\u003e\n\n**Update-ImgTag-Frontend (frontend changes):**\n\u003cbr\u003e\n- Updates the image tag in the Kubernetes deployment manifest based on the workflow run number \u003cbr\u003e\n\n**Deploy-On-Minikube-Frontend (frontend changes):**\n\u003cbr\u003e\n- Deploys the updated frontend image to a local Minikube cluster (for testing) \u003cbr\u003e\n\n**Slack-Notification-Frontend (frontend changes):**\n\u003cbr\u003e\n- Sends a notification to a Slack channel about the deployment result \u003cbr\u003e\n- Similar jobs exist for backend changes (replace \"frontend\" with \"backend\")\n\n### Requirements\n- Docker and Docker Hub access (secrets: `DOCKER_TOKEN`, `DOCKER_USER`)\n- GitHub personal access token (secrets: `GITHUB_TOKEN`) - optional\n- Slack communication (secrets: `SLACK_BOT_TOKEN`, `SLACK_CHANNEL_ID`)\n\n### Security\nThe workflow scans frontend Docker images for vulnerabilities using Trivy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuj5ghare%2Fdevops-engineer-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuj5ghare%2Fdevops-engineer-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuj5ghare%2Fdevops-engineer-project/lists"}