{"id":37066277,"url":"https://github.com/alainivars/drf-microservice","last_synced_at":"2026-01-14T07:46:39.286Z","repository":{"id":33047533,"uuid":"149651473","full_name":"alainivars/drf-microservice","owner":"alainivars","description":"a DjangoRest microservice with Doker, Travis. Aws, ... generated by cookiecutter-drf-microservice","archived":false,"fork":false,"pushed_at":"2022-12-26T22:33:13.000Z","size":496,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T20:58:02.060Z","etag":null,"topics":["aws","django","docker","drf","drf-microservice","token-based-authentication","tox","travis-ci"],"latest_commit_sha":null,"homepage":"","language":"Python","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/alainivars.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/security_check.rst","support":null}},"created_at":"2018-09-20T18:16:01.000Z","updated_at":"2023-08-14T14:13:16.000Z","dependencies_parsed_at":"2023-01-14T23:11:19.864Z","dependency_job_id":null,"html_url":"https://github.com/alainivars/drf-microservice","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/alainivars/drf-microservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainivars%2Fdrf-microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainivars%2Fdrf-microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainivars%2Fdrf-microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainivars%2Fdrf-microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alainivars","download_url":"https://codeload.github.com/alainivars/drf-microservice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alainivars%2Fdrf-microservice/sbom","scorecard":{"id":177216,"data":{"date":"2025-08-11","repo":{"name":"github.com/alainivars/drf-microservice","commit":"4cb3ef7b5295a623571d0933d89bcf96440d29fe"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 4/26 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile.drf-ms-pg:4","Warn: containerImage not pinned by hash: Dockerfile.drf-ms-pg:5: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: Dockerfile.drf-ms-sqlite:4: pin your Docker image by updating python:3.10.0b4 to python:3.10.0b4@sha256:a5954f542bd37b28df22cd7086f04c9b329c19e387e71d54533498057a69af1b","Warn: containerImage not pinned by hash: Dockerfile.drf-ms-sqlite.wodc:5: pin your Docker image by updating python:3.11.0b1 to python:3.11.0b1@sha256:bebb9c647191748df5ec9f7a7c3e03750eec35504365dbee6f2a756e857b89ee","Warn: containerImage not pinned by hash: Dockerfile.python.drf_ms_pg:1: pin your Docker image by updating python:3-alpine to python:3-alpine@sha256:f196fd275fdad7287ccb4b0a85c2e402bb8c794d205cf6158909041c1ee9f38d","Warn: pipCommand not pinned by hash: Dockerfile.drf-ms-pg:19","Warn: pipCommand not pinned by hash: Dockerfile.drf-ms-sqlite:20","Warn: pipCommand not pinned by hash: Dockerfile.drf-ms-sqlite.wodc:21","Warn: pipCommand not pinned by hash: Dockerfile.python.drf_ms_pg:14","Warn: pipCommand not pinned by hash: Dockerfile.python.drf_ms_pg:16","Info:   0 out of   5 containerImage dependencies pinned","Info:   0 out of   5 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-64 / GHSA-x7gm-rfgv-w973","Warn: Project is vulnerable to: PYSEC-2020-263 / GHSA-fx83-3ph3-9j2q","Warn: Project is vulnerable to: GHSA-gw84-84pc-xp82","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T17:57:09.292Z","repository_id":33047533,"created_at":"2025-08-16T17:57:09.292Z","updated_at":"2025-08-16T17:57:09.292Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["aws","django","docker","drf","drf-microservice","token-based-authentication","tox","travis-ci"],"created_at":"2026-01-14T07:46:38.669Z","updated_at":"2026-01-14T07:46:39.276Z","avatar_url":"https://github.com/alainivars.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Welcome to drf-microservice documentation!\n==========================================\n\n.. image:: https://api.travis-ci.org/alainivars/drf-microservice.svg?branch=master\n    :target: http://travis-ci.org/alainivars/drf-microservice\n    :alt: Build status\n\n.. image:: https://coveralls.io/repos/github/alainivars/drf-microservice/badge.svg?branch=master\n    :target: https://coveralls.io/github/alainivars/drf-microservice?branch=master\n    :alt: Test coverage status\n\n.. image:: https://img.shields.io/pypi/dm/drf-microservice.svg\n   :target: https://pypi.python.org/pypi/drf-microservice/\n   :alt: pypi download\n\n.. image:: https://img.shields.io/pypi/pyversions/drf-microservice.svg\n   :target: https://pypi.python.org/pypi/drf-microservice/\n   :alt: python supported\n\n.. image:: https://img.shields.io/github/license/alainivars/drf-microservice\n   :target: https://pypi.python.org/pypi/drf-microservice/blob/master/LICENSE\n   :alt: licence\n\n.. image:: https://img.shields.io/pypi/v/drf-microservice.svg\n   :target: https://pypi.python.org/pypi/drf-microservice\n   :alt: PyPi version\n\n.. image:: https://api.codeclimate.com/v1/badges/7e1409b460b27562eb8b/maintainability\n   :target: https://codeclimate.com/github/alainivars/drf-microservice/maintainability\n   :alt: Maintainability\n\n.. image:: https://readthedocs.org/projects/drf-microservice/badge/?version=latest\n   :target: https://readthedocs.org/projects/drf-microservice/?badge=latest\n   :alt: Documentation status\n\n.. image:: https://pypip.in/wheel/drf-microservice/badge.svg\n   :target: https://pypi.python.org/pypi/drf-microservice/\n   :alt: PyPi wheel\n\nAbout Drf-microservice\n======================\ndrf-microservice is a ready-to-use API skeleton:\n    - `Cookiescutter-drf-microservice`_ generated it,\n    - api endpoints, all are secured by login/token\n    - an api endpoint requires access authorization\nAnd you:\n    - add your unittest and endpoints,\nAnd it will help you to:\n    - generate the documentation with drf-yasg,\n    - test it with Tox,\n    - package it Docker,\n    - deploy it (TODO with) Terraform or Ansible\n\nIt sounds simple and it is. Take a look at `Drf-microservice`_ it's now generated by `Cookiescutter-drf-microservice`_.\n\nSomething disturb you in the code? Don't hesitate to open a an issue and contribute.\n\ndocker-compose\n--------------\n# create image(s) described in the docker-compose.yml:\n    docker-compose build\n# Builds, (re)creates, starts, and attaches to containers for a service:\n    docker-compose up -d\n# Stops, all the containers for a service:\n    docker-compose down\n\nurls::\n\n    xx.xx.xx.xx:8000\n    xx.xx.xx.xx:8000/admin/\n    xx.xx.xx.xx:8000/swagger/openapi/\n\n\n`Releases notes`_\n\nBugs and evolution policies\n===========================\nWhen you will find a bug or propose an evolution create a ticket on:\n\n- `Issue Cookiescutter-drf-microservice`_ if it's about the generation process\n- `Issue Drf-microservice`_ if it's about a functionality in the generated drf process\n\nOnline documentation is here on `readthedoc`_\nOnline source code available on `Github`_\n\n.. _`Cookiescutter-drf-microservice`: https://github.com/alainivars/cookiecutter-drf-microservice\n.. _`Drf-microservice`: https://github.com/alainivars/drf-microservice\n.. _`Issue Cookiescutter-drf-microservice`: https://github.com/alainivars/cookiecutter-drf-microservice/issues\n.. _`Issue Drf-microservice`: https://github.com/alainivars/drf-microservice/issues\n.. _`Readthedoc`: https://drf-microservice.readthedocs.io/en/latest/\n.. _`Github`: https://github.com/alainivars/drf-microservice\n.. _`Releases notes`: https://github.com/alainivars/drf-microservice/blob/master/docs/releases_notes.rst\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falainivars%2Fdrf-microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falainivars%2Fdrf-microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falainivars%2Fdrf-microservice/lists"}