{"id":20525964,"url":"https://github.com/codeyellowbv/django-binder","last_synced_at":"2025-10-29T20:20:53.896Z","repository":{"id":37484142,"uuid":"65672706","full_name":"CodeYellowBV/django-binder","owner":"CodeYellowBV","description":"A framework based on Django for SPA webapps with a REST-like API","archived":false,"fork":false,"pushed_at":"2025-05-01T15:28:10.000Z","size":1300,"stargazers_count":14,"open_issues_count":53,"forks_count":20,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-05-01T15:35:07.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeYellowBV.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2016-08-14T15:22:54.000Z","updated_at":"2025-04-17T06:54:48.000Z","dependencies_parsed_at":"2023-11-06T10:26:47.592Z","dependency_job_id":"48337c2b-5b50-4cdf-adf2-b8d5e269eb59","html_url":"https://github.com/CodeYellowBV/django-binder","commit_stats":{"total_commits":846,"total_committers":26,"mean_commits":32.53846153846154,"dds":0.7174940898345153,"last_synced_commit":"90d07e04867c544ae3a327c913a19370c421393e"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeYellowBV%2Fdjango-binder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeYellowBV%2Fdjango-binder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeYellowBV%2Fdjango-binder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeYellowBV%2Fdjango-binder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeYellowBV","download_url":"https://codeload.github.com/CodeYellowBV/django-binder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931391,"owners_count":21827104,"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":[],"created_at":"2024-11-15T23:11:33.174Z","updated_at":"2025-10-29T20:20:48.852Z","avatar_url":"https://github.com/CodeYellowBV.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django-Binder\n\n[![Build Status](https://travis-ci.org/CodeYellowBV/django-binder.svg?branch=master)](https://travis-ci.org/CodeYellowBV/django-binder)\n[![codecov](https://codecov.io/gh/CodeYellowBV/django-binder/branch/master/graph/badge.svg)](https://codecov.io/gh/CodeYellowBV/django-binder)\n\nCode Yellow backend framework for SPA webapps with REST-like API.\n\n**This framework is a work-in-progress. There is no complete documentation yet. We are using it for a couple of projects and fine-tuning it.**\n\n## Running the tests\n\nRun with docker `docker compose run binder ./setup.py test` (but you may need to run `docker compose build db binder` first)\n- Access the test database directly by with `docker compose run db psql -h db -U postgres`.\n- It may be possible to recreate the test database (for example when you added/changed models). One way of achieving this is to just remove all the docker images that were build `docker compose rm`. The database will be created during the setup in `tests/__init__.py`.\n\nThe tests are set up in such a way that there is no need to keep migration files. The setup procedure in `tests/__init__.py` handles the preparation of the database by directly calling some build-in Django commands.\n\nTo only run a selection of the tests, use the `-s` flag like `./setup.py test -s tests.test_some_specific_test`.\n\n## MySQL support\n\nMySQL is supported, but only with the goal to replace it with\nPostgreSQL.  This means it has a few limitations:\n\n- `where` filtering on `with` relations is not supported.\n- Only integer primary keys are supported.\n- When fetching large number of records using `with` or the ids are big, be sure to increase `GROUP_CONCAT` max string length by:\n\n```\nDATABASES = {\n\t'default': {\n\t\t'OPTIONS': {\n            'init_command': 'SET SESSION group_concat_max_len = 1000000',\n        },\n\t},\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeyellowbv%2Fdjango-binder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeyellowbv%2Fdjango-binder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeyellowbv%2Fdjango-binder/lists"}