{"id":20327444,"url":"https://github.com/eduardogr/djangorf-base","last_synced_at":"2026-05-07T17:32:41.903Z","repository":{"id":43351194,"uuid":"264528441","full_name":"eduardogr/djangorf-base","owner":"eduardogr","description":"Django project built with the aim of avoiding boilerplate and being used as the base of other projects to build REST APIs using django-rest-framework.","archived":false,"fork":false,"pushed_at":"2024-06-26T18:03:16.000Z","size":132,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T11:43:08.753Z","etag":null,"topics":["boilerplate-application","django","django-rest-framewok","docker-compose","monitoring","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eduardogr.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":"2020-05-16T21:14:09.000Z","updated_at":"2023-03-09T02:12:33.000Z","dependencies_parsed_at":"2025-01-14T14:43:36.836Z","dependency_job_id":"e60e1155-c2b8-4989-8ada-52f154103aeb","html_url":"https://github.com/eduardogr/djangorf-base","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eduardogr/djangorf-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardogr%2Fdjangorf-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardogr%2Fdjangorf-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardogr%2Fdjangorf-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardogr%2Fdjangorf-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eduardogr","download_url":"https://codeload.github.com/eduardogr/djangorf-base/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eduardogr%2Fdjangorf-base/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266161900,"owners_count":23885927,"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":["boilerplate-application","django","django-rest-framewok","docker-compose","monitoring","python3","rest-api"],"created_at":"2024-11-14T19:47:39.325Z","updated_at":"2026-05-07T17:32:36.882Z","avatar_url":"https://github.com/eduardogr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e djangorf-base \u003c/h1\u003e \u003cbr\u003e\n\n[![Python](https://img.shields.io/badge/Python-v3.6%2B-blue)]()\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/eduardogr/evalytics/blob/master/.github/CONTRIBUTING.md)\n[![GitHub license](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/eduardogr/djangorf-base/blob/master/LICENSE)\n\n# Introduction\n\n**djangorf-base** is a Django project built with the aim of **avoiding boilerplate** and being used as the **base** of other projects to build **REST APIs** using django-rest-framework.\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"doc/arquitecture.png\" alt=\"drawing\" align=\"center\" width=\"657\" height=\"504\"/\u003e\n\u003c/div\u003e\n\nDiagram drawn using [diagrams](https://github.com/mingrammer/diagrams).\n\n## Table of Contents\n\n0. [Introduction](#introduction)\n0. [Development](#development)\n0. [Contributing](#family-contributing)\n0. [License](#page_with_curl-license)\n\n# Development\n\nThis projects is built using `docker`, `docker-compose` and `make` within the development environment.\n\n`make build \u0026\u0026 make up` will up and run the django rest server.\n\n## API Requests\n\n```\ncurl -H 'Accept: application/json; indent=4' -u user:passwd http://127.0.0.1:8000/users/\n```\n\n# Prometheus\n\n## Some available metrics\n\n- django_http_requests_body_total_bytes_bucket\n- django_http_responses_body_total_bytes_bucket\n- django_http_requests_latency_seconds_by_view_method_bucket\n- django_http_requests_latency_including_middlewares_seconds_bucket\n\n- prometheus_http_requests_total\n- prometheus_http_request_duration_seconds_bucket\n- prometheus_http_response_size_bytes_bucket\n\n## PromQL queries examples\n\n- sum(rate(django_http_requests_latency_seconds_by_view_method_bucket[30s])) BY (job, method)\n- sum(rate(django_http_responses_body_total_bytes_bucket[30s])) by (job)\n\n# Contributing\n\n# License\n\nThis project is licensed under the [Apache license](https://github.com/eduardogr/evalytics/blob/main/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardogr%2Fdjangorf-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feduardogr%2Fdjangorf-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feduardogr%2Fdjangorf-base/lists"}