{"id":15891303,"url":"https://github.com/dbritto-dev/django-graphql-project-template","last_synced_at":"2026-04-20T09:33:39.469Z","repository":{"id":69761500,"uuid":"308065201","full_name":"dbritto-dev/django-graphql-project-template","owner":"dbritto-dev","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-02T14:56:12.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-04T13:09:28.637Z","etag":null,"topics":["django","django-rest-framework","django-template-project","graphql","graphql-server","python3","typings"],"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/dbritto-dev.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":"2020-10-28T15:46:52.000Z","updated_at":"2024-08-26T23:00:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"32d11af1-c9a9-4654-8c5e-709b98ef6c68","html_url":"https://github.com/dbritto-dev/django-graphql-project-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/dbritto-dev/django-graphql-project-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fdjango-graphql-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fdjango-graphql-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fdjango-graphql-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fdjango-graphql-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbritto-dev","download_url":"https://codeload.github.com/dbritto-dev/django-graphql-project-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbritto-dev%2Fdjango-graphql-project-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32041483,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":["django","django-rest-framework","django-template-project","graphql","graphql-server","python3","typings"],"created_at":"2024-10-06T07:21:29.736Z","updated_at":"2026-04-20T09:33:39.420Z","avatar_url":"https://github.com/dbritto-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Overview\n\nThis project is a template project to scaffold or create the initial structure of your project\nusing `django`, `graphene-django`, `djangorestframework` and `django-filter`. This project is helps\nyou to build a graphql API `OpenCRUD compliance`.`\n\nTo read more about OpenCRUD please go to: https://www.opencrud.org/\n\n**PROJECT STRUCTURE**\n\n| File Name                 | Description                                                   |\n| ------------------------- | ------------------------------------------------------------- |\n| `├── config/`             | _This folder contains the source files for the config._       |\n| `├── requirements/`       | _This folder contains the source files for the requirements._ |\n| `.gitignore`              | Git ignore config file                                        |\n| `manage.py`               |                                                               |\n| `requirements.develop`    | Requirement file for development mode.                        |\n| `requirements.production` | Requirement file for production mode.                         |\n| `requirements.staging`    | Requirement file for staging mode.                            |\n| `requirements.testing`    | Requirement file for testing mode.                            |\n| `run.py`                  | Entrypoint for production mode.                               |\n| `tox.ini`                 | Config file for linting, testing, coverage and ohter things.  |\n\n# Pre-requisites\n\n- Python 3.9: https://www.python.org/downloads/\n- Git for Windows (only for Windows): https://git-scm.com/downloads\n\n# Creating a new project\n\nIf you are using Windows, use git bash to run these commands.\n\n**Creating the project folder**\n\n```sh\nmkdir awesome-graphql-api \u0026\u0026 cd awesome-graphql-api\n```\n\n**Creating the virtual environment**\n\n```sh\npython -m venv venv\n```\n\n**Activating the virtual environment**\n\n```sh\nsource venv/bin/activate\n```\n\n_For Windows only_\n\n```sh\n. venv/Scripts/activate\n```\n\n**Deactivating the virtual environment**\n\n```sh\ndeactivate\n```\n\n**Updating pip and installing pip-tools**\n\n```sh\npython -m pip install --upgrade pip \u0026\u0026 pip install pip-tools\n```\n\n## Compiling the requirement file\n\n**For development**\n\n```sh\npip-compile -r requirements/develop.in -o requirements.develop\n```\n\n**For production**\n\n```sh\npip-compile -r requirements/production.in -o requirements.production\n```\n\n**For staging**\n\n```sh\npip-compile -r requirements/staging.in -o requirements.staging\n```\n\n**For testing**\n\n```sh\npip-compile -r requirements/testing.in -o requirements.testing\n```\n\n## Installing the dependencies\n\n**For development**\n\n```sh\npip install -r requirements.develop\n```\n\n**For production**\n\n```sh\npip install -r requirements.production\n```\n\n**For staging**\n\n```sh\npip install -r requirements.staging\n```\n\n**For testing**\n\n```sh\npip install -r requirements.testing\n```\n\n## Scaffolding a project\n\n```sh\ndjango-admin startproject --template https://github.com/danilobrinu/django-graphql-project-template/archive/master.zip \u003cawesome-project\u003e .\n```\n\n\u003e **Example:** `django-admin startproject --template https://github.com/danilobrinu/django-graphql-project-template/archive/master.zip my-graphql-api`\n\n## Scaffolding an app\n\n```sh\ndjango-admin startapp --template https://github.com/danilobrinu/django-graphql-app-template/archive/master.zip \u003cawesome-app\u003e\n```\n\n**Example:** `python manage.py --template https://github.com/danilobrinu/django-graphql-app-template/archive/master.zip api_v1`\n\n\u003e **Note:** to read more about scaffoling an app, please go to: https://github.com/danilobrinu/django-graphql-app-template\n\n## Scaffoling a domain app\n\nTo scaffold a domain app you need to go to inside of the domain folder part of an app. Only run this\nthis command inside of the your `\u003cawesome-app\u003e/domain` folder. For instance: `api_v1/domain`\n\n```sh\ndjango-admin startapp --template https://github.com/danilobrinu/django-graphql-app-domain-template/archive/master.zip \u003cawesome-app-domain\u003e\n```\n\n**Example:** `django-admin startapp --template https://github.com/danilobrinu/django-graphql-app-domain-template/archive/master.zip post`\n\n\u003e **Note:** to read more about scaffolding a domain app, please go to: https://github.com/danilobrinu/django-graphql-domain-app-template.\n\n## Running an app\n\n**For development**\n\n```sh\npython manage.py runserver\n```\n\n**For production**\n\n```\npython run.py\n```\n\n## Verifying\n\n**Endpoint URL:** `http://\u003cdomain\u003e/\u003cpath-to-your-graphql-endpoint\u003e`\n\n**For development:** The domain is `localhost:8000` and the path to your graphql is `graphql/v1`.\n\nOpen the GraphQL Playground with http://localhost:8000/graphql/v1\n\n**For production**: The domain is `awesome.graphql.io` and the path to your graphql is `graphql/v1`.\n\nOpen the GraphQL Playground with http:///awesome.graphql.io/graphql/v1\n\n\u003e **Note:** change `awesome.graphql.io` to your endpoint for production.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbritto-dev%2Fdjango-graphql-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbritto-dev%2Fdjango-graphql-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbritto-dev%2Fdjango-graphql-project-template/lists"}