{"id":47250084,"url":"https://github.com/guitar0-net/backend","last_synced_at":"2026-05-30T08:01:15.033Z","repository":{"id":322070902,"uuid":"1088115379","full_name":"guitar0-net/backend","owner":"guitar0-net","description":"REST API for the guitar0.net learning platform powering the web and mobile applications.","archived":false,"fork":false,"pushed_at":"2026-05-23T15:03:49.000Z","size":448,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-23T15:23:32.690Z","etag":null,"topics":["django","django-rest-framework","guitar0","rest-api"],"latest_commit_sha":null,"homepage":"https://api.guitar0.net/api/v1/docs/redoc/","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/guitar0-net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSES/AGPL-3.0-or-later.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-02T10:48:27.000Z","updated_at":"2026-05-23T15:03:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/guitar0-net/backend","commit_stats":null,"previous_names":["guitar0-net/server","guitar0-net/backend"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/guitar0-net/backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guitar0-net%2Fbackend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guitar0-net%2Fbackend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guitar0-net%2Fbackend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guitar0-net%2Fbackend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guitar0-net","download_url":"https://codeload.github.com/guitar0-net/backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guitar0-net%2Fbackend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33684413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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","guitar0","rest-api"],"created_at":"2026-03-14T12:59:19.707Z","updated_at":"2026-05-30T08:01:15.025Z","avatar_url":"https://github.com/guitar0-net.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2025-2026 Andrey Kotlyar \u003cguitar0.app@gmail.com\u003e\n\nSPDX-License-Identifier: AGPL-3.0-or-later\n--\u003e\n\n# Guitar0 backend\n\n[![CI](https://github.com/guitar0-net/server/actions/workflows/ci.yml/badge.svg)](https://github.com/guitar0-net/server/actions/workflows/ci.yml)\n[![codecov](https://codecov.io/gh/guitar0-net/backend/graph/badge.svg?token=O0HFMUOVO6)](https://codecov.io/gh/guitar0-net/backend)\n[![Python](https://img.shields.io/badge/python-3.14-blue.svg)](https://python.org)\n![Django](https://img.shields.io/badge/django-6-blue)\n[![License](https://img.shields.io/badge/license-AGPL--3.0--or--later-green.svg)](./LICENSES/AGPL-3.0-or-later.txt)\n[![REUSE status](https://api.reuse.software/badge/github.com/guitar0-net/backend)](https://api.reuse.software/info/github.com/guitar0-net/backend)\n\nREST API backend for the [Guitar0](https://guitar0.net) guitar education platform, serving mobile and web clients.\n\nThe service provides user accounts, song and chord libraries, structured guitar courses, and other learning content for mobile and web clients.\n\n## Tech Stack\n\n| Layer     | Technology                       |\n| --------- | -------------------------------- |\n| Language  | Python 3.14                      |\n| Framework | Django 6 · Django REST Framework |\n| Database  | PostgreSQL 16                    |\n| Server    | Gunicorn                         |\n| Packaging | PDM                              |\n| Linting   | Ruff · Mypy (strict)             |\n| Testing   | pytest · coverage (≥ 90%)        |\n| Security  | Bandit · pip-audit               |\n\n## Prerequisites\n\n- Python 3.14+\n- [PDM](https://pdm-project.org)\n- PostgreSQL 16 — or Docker (see below)\n\n## Quick Start\n\n**Local:**\n\n```bash\ncp .env.example .env.development   # fill in DB credentials\npdm install\nmake migrate\nmake run\n```\n\n**Docker:**\n\n```bash\nmake docker-up\n```\n\nAPI is available at `http://localhost:8000`.\n\n## Development Commands\n\n```\nmake help            list all available commands\n\nmake lint            ruff + mypy\nmake test            pytest with coverage report\nmake ci              lint + test (mirrors CI pipeline)\n\nmake migrate         apply migrations\nmake shell           Django shell\n\nmake docker-up       start app + DB via Docker Compose\nmake docker-down     stop containers\nmake docker-logs     tail logs\n```\n\n## Project Structure\n\n```\napps/\n  accounts/       user accounts\n  announcements/  news and announcements\n  chords/         chord library\n  courses/        courses\n  lessons/        lessons\n  songs/          song library\n  schemes/        fretboard schemes\n  metrics/        Prometheus metrics endpoint\nconfig/           Django settings and URL routing\ninfrastructure/   Docker, Ansible, observability\n```\n\n## License\n\n[GNU Affero General Public License v3.0 or later](./LICENSES/AGPL-3.0-or-later.txt).\nAll source files carry SPDX headers and are [REUSE compliant](https://reuse.software).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguitar0-net%2Fbackend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguitar0-net%2Fbackend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguitar0-net%2Fbackend/lists"}