{"id":36969938,"url":"https://github.com/kmadsdev/devops-challenge","last_synced_at":"2026-01-13T21:42:25.263Z","repository":{"id":331038038,"uuid":"1110863973","full_name":"kmadsdev/devops-challenge","owner":"kmadsdev","description":"PicPay Jr Devops Challenge Solution","archived":false,"fork":false,"pushed_at":"2025-12-30T00:17:32.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-02T07:41:32.681Z","etag":null,"topics":["api","cors","devops","docker","go","html-css","javascript","microservices","python","redis","sre"],"latest_commit_sha":null,"homepage":"","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/kmadsdev.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-12-05T20:57:19.000Z","updated_at":"2025-12-30T00:08:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/kmadsdev/devops-challenge","commit_stats":null,"previous_names":["kmadsdev/devops-challenge"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kmadsdev/devops-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadsdev%2Fdevops-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadsdev%2Fdevops-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadsdev%2Fdevops-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadsdev%2Fdevops-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kmadsdev","download_url":"https://codeload.github.com/kmadsdev/devops-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kmadsdev%2Fdevops-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28401059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["api","cors","devops","docker","go","html-css","javascript","microservices","python","redis","sre"],"created_at":"2026-01-13T21:42:24.724Z","updated_at":"2026-01-13T21:42:25.258Z","avatar_url":"https://github.com/kmadsdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevOps Challenge\nMy solution for a technical challange made for upcoming Jr DevOps/SRE Engineers at the green bank💚\n\n## How to Run\n```bash\ndocker compose build\ndocker compose up --build\n```\n\u003e The web page will be hosted at [https://localhost:5000/](https://localhost:5000/)\n\n\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n\n\n## Test on terminal\n### Test the API health\n```bash\ncurl.exe http://localhost:8082/health\n```\n\u003e Should return **`up`**\n### Writer\n```bash\nInvoke-WebRequest -Method POST -Uri http://localhost:8083/write -Body \"hello\"\n```\n### Reader\n```bash\nInvoke-WebRequest http://localhost:8082/data\n```\n\n\n\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n\n\n\n# Architecture\n### Stack\n- Frontend: HTML/CSS, Bootstrap, JavaScript, Node.JS\n- Backend: Python, GO\n- Database: Redis\n\n### Containers\nThe `docker-compose.yaml` will create \u0026 orchestrate 4 containers:\n- `devops-challenge-web-1` - Web Service\n- `devops-challenge-writer-1` - Writer Service\n- `devops-challenge-reader-1` - Reader Service\n- `devops-challenge-redis-1` - Redis Database\n\n### Service Ports\n- Web/Front: [http://localhost:5000/](http://localhost:5000)\n- Reader: [http://localhost:8082/](http://localhost:8082)\n- Writer: [http://localhost:8083/](http://localhost:8083)\n- Redis: [http://localhost:6379/](http://localhost:6379)\n\n### Flow\nThe user (using the `Web Service (Node.JS)`) can send or request data from the redis\n- Send: `Writer Service (python)` writes on `Redis` and returns a code `201` to `Web Service (Node.JS)`\n- Request: `Reader Service (GO)` reads from `Redis` and returns its data to `Web Service (Node.JS)`\n\n\u003cbr\u003e\n\n### Architecture Design / Infra\n![](architecture.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmadsdev%2Fdevops-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkmadsdev%2Fdevops-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkmadsdev%2Fdevops-challenge/lists"}