{"id":29134122,"url":"https://github.com/tokiory/exp.dev-bkend","last_synced_at":"2026-04-29T14:01:46.472Z","repository":{"id":301466980,"uuid":"1006703132","full_name":"tokiory/exp.dev-bkend","owner":"tokiory","description":"🦍 Backend for exp.dev service","archived":false,"fork":false,"pushed_at":"2025-06-27T02:27:23.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-27T03:25:59.782Z","etag":null,"topics":["backend","go","postgres"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tokiory.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,"zenodo":null}},"created_at":"2025-06-22T20:36:50.000Z","updated_at":"2025-06-27T02:27:26.000Z","dependencies_parsed_at":"2025-06-27T03:26:04.352Z","dependency_job_id":"430b28e2-81d8-4ff3-b794-61c52bc6133c","html_url":"https://github.com/tokiory/exp.dev-bkend","commit_stats":null,"previous_names":["tokiory/exp.dev-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tokiory/exp.dev-bkend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokiory%2Fexp.dev-bkend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokiory%2Fexp.dev-bkend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokiory%2Fexp.dev-bkend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokiory%2Fexp.dev-bkend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tokiory","download_url":"https://codeload.github.com/tokiory/exp.dev-bkend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tokiory%2Fexp.dev-bkend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32428622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: 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":["backend","go","postgres"],"created_at":"2025-06-30T08:13:38.107Z","updated_at":"2026-04-29T14:01:46.440Z","avatar_url":"https://github.com/tokiory.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch3 align=\"center\"\u003e✨[bkend] exp.dev✨\u003c/h3\u003e\n\u003cp align=\"center\"\u003e\u003csup\u003eA backend for a \u003ca target=\"_blank\" href=\"github.com/tokiory/exp.dev\"\u003eexp.dev\u003c/a\u003e project\u003c/sup\u003e\u003c/p\u003e\n\n\n# Docker\nTo utilize infrastructure, use the following command:\n```bash\ndocker compose up -d database migration\n```\n\nTo run the application and the infrastructure, use:\n```bash\ndocker compose up -d\n```\n\nTo stop app and (or) infrastructure, use:\n```bash\ndocker compose down\n```\n\n# Tools\n- [`sqlc`](https://github.com/kyleconroy/sqlc): For generating db package code from SQL\n- [`goose`](https://github.com/pressly/goose): For migrations\n\n## SQL Generation\nThis application uses `sqlc` to generate Go code from SQL queries. To generate the code, run:\n\n```bash\nsqlc generate -f ./db/sqlc.yaml\n```\n\nThis command will read the SQL files in the `db/migration` and `db/queries` directories and generate the corresponding Go code in the `db/report` directory.\n\n## Migrations\nAll migrations are located in the `db/migration` directory. To apply migrations, use:\n\n```bash\nmake migrate_up\n```\n\n# Architecture\n1. We use immutable database records of reports to keep progress of every engineer;\n2. This approach provide us a great way to analyze every developer path, 'cause we can simple `SELECT` all developers reports via SQL;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokiory%2Fexp.dev-bkend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftokiory%2Fexp.dev-bkend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftokiory%2Fexp.dev-bkend/lists"}