{"id":25961607,"url":"https://github.com/nikitachalykh/comment_system_service","last_synced_at":"2026-04-11T09:45:05.550Z","repository":{"id":216314679,"uuid":"482954834","full_name":"NikitaChalykh/comment_system_service","owner":"NikitaChalykh","description":"comment management system with support for nested discussions","archived":false,"fork":false,"pushed_at":"2025-03-16T19:20:26.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T20:31:21.660Z","etag":null,"topics":["django","django-rest-framework","djoser","docker","docker-compose","gunicorn","nginx","postgresql","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/NikitaChalykh.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}},"created_at":"2022-04-18T18:31:29.000Z","updated_at":"2025-03-16T19:20:29.000Z","dependencies_parsed_at":"2025-03-04T12:30:52.589Z","dependency_job_id":"b1a28400-07ad-4cd4-aeca-8e512cd797ed","html_url":"https://github.com/NikitaChalykh/comment_system_service","commit_stats":null,"previous_names":["nikitachalykh/api_comments_tw","nikitachalykh/messaging_service"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikitaChalykh/comment_system_service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fcomment_system_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fcomment_system_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fcomment_system_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fcomment_system_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikitaChalykh","download_url":"https://codeload.github.com/NikitaChalykh/comment_system_service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikitaChalykh%2Fcomment_system_service/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260358445,"owners_count":22997039,"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":["django","django-rest-framework","djoser","docker","docker-compose","gunicorn","nginx","postgresql","python3","rest-api"],"created_at":"2025-03-04T19:40:33.465Z","updated_at":"2026-04-11T09:45:05.543Z","avatar_url":"https://github.com/NikitaChalykh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Comment management system with support for nested discussions\n=====\n\nProject description\n----------\n\nThe project is a system for managing articles and comments with support for nested discussions. The API supports operations for adding and getting comments to articles and other comments, and also allows you to get a tree structure of comments.\n\nThe project is deployed in three Docker containers: a web application, a postgresql database, and an nginx server.\n\nThe project has token-based authentication, and an admin panel has been configured.\n\nPermissions and pagination for endpoints have been configured.\n\nFixtures have been prepared for filling the database with test data (the password and nickname of the admin in the database fixtures are ```admin```).\n\nSystem requirements\n----------\n* Python 3.8+\n* Docker\n* Works on Linux\n\nTech stack\n----------\n* Python 3.8+\n* Django 3.1\n* Django Rest Framework\n* PostreSQL\n* Nginx\n* gunicorn\n* Docker, Docker Compose\n\nInstalling the project from the repository\n----------\n1. Cloning the repository:\n```bash\ngit clone git@github.com:NikitaChalykh/comment_system_service.git\n\ncd comment_system_service\n```\n\n2. Create a ```.env``` file using ```env.example``` as a template in the infra folder\n\n3. Installing and running the application in containers:\n```bash\ndocker compose up -d\n```\n\n4. Run migrations, collect statics and load fixtures:\n```bash\n\ndocker compose exec web python manage.py migrate\n\ndocker compose exec web python manage.py collectstatic --no-input\n\ndocker compose exec web python manage.py loaddata fixtures.json\n```\n\nWorking with the project\n----------\nDocumentation on the API service:\n\n```http://127.0.0.1/redoc/```\n\n```http://127.0.0.1/swagger/```\n\nService admin panel:\n\n```http://127.0.0.1/admin/```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitachalykh%2Fcomment_system_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikitachalykh%2Fcomment_system_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikitachalykh%2Fcomment_system_service/lists"}