{"id":28943068,"url":"https://github.com/dm-zhuk/goit-pythonweb-hw-012","last_synced_at":"2026-04-30T02:34:33.136Z","repository":{"id":299664850,"uuid":"1003214172","full_name":"dm-zhuk/goit-pythonweb-hw-012","owner":"dm-zhuk","description":"REST API-app","archived":false,"fork":false,"pushed_at":"2025-06-25T23:38:02.000Z","size":3379,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T00:29:34.403Z","etag":null,"topics":["docker-compose","python3","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dm-zhuk.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}},"created_at":"2025-06-16T19:56:53.000Z","updated_at":"2025-06-25T23:38:05.000Z","dependencies_parsed_at":"2025-06-17T17:46:48.664Z","dependency_job_id":"7839ae5d-97b0-41f1-97c1-28bc254b26e0","html_url":"https://github.com/dm-zhuk/goit-pythonweb-hw-012","commit_stats":null,"previous_names":["dm-zhuk/goit-pythonweb-hw-012"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dm-zhuk/goit-pythonweb-hw-012","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dm-zhuk%2Fgoit-pythonweb-hw-012","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dm-zhuk%2Fgoit-pythonweb-hw-012/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dm-zhuk%2Fgoit-pythonweb-hw-012/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dm-zhuk%2Fgoit-pythonweb-hw-012/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dm-zhuk","download_url":"https://codeload.github.com/dm-zhuk/goit-pythonweb-hw-012/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dm-zhuk%2Fgoit-pythonweb-hw-012/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32452739,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","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":["docker-compose","python3","rest-api"],"created_at":"2025-06-23T04:41:02.410Z","updated_at":"2026-04-30T02:34:33.131Z","avatar_url":"https://github.com/dm-zhuk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contacts Management REST API\n\nThis project is a fully tested and Dockerized RESTful API for managing contacts, featuring:\n\n- JWT-based authentication\n- Role-based access control\n- PostgreSQL \u0026 Redis integration\n- Pytest coverage for both unit and integration tests\n\n## 🧪 Testing \u0026 Coverage\n\nThis project uses **Poetry**, **Pytest**, **Coverage.py**, and **Docker Compose** to run unit and integration tests with combined coverage reporting.\n\n### 🔧 Prerequisites\n\n- [Poetry](https://python-poetry.org/docs/)\n- [Docker](https://www.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n\n### 🧼 Clean up previous results\n\n```bash\nmake clean\n\n### ✅ Run local unit tests (pure mocks)\n\n```bash\nmake .coverage.unit\n\n### 🐳 Run integration tests (DB + Redis via Docker)\n\n```bash\nmake .coverage.integration\n\n### 📦 Combine \u0026 view coverage reports\n\n```bash\nmake combine-coverage\n\nCombines coverage data from unit + integration runs and generates an HTML report:\n\n👉 Open htmlcov/index.html in your browser to view it.\n\n### 🚀 Full test pipeline (clean → test → report)\n\n```bash\nmake test-all\n\n#### Runs everything in order:\n\nRun Clean up\n\nRun unit tests\n\nRun integration tests\n\nCombine coverage reports\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdm-zhuk%2Fgoit-pythonweb-hw-012","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdm-zhuk%2Fgoit-pythonweb-hw-012","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdm-zhuk%2Fgoit-pythonweb-hw-012/lists"}