{"id":38363337,"url":"https://github.com/takumi-pro/bookmap_backend","last_synced_at":"2026-01-17T03:21:40.505Z","repository":{"id":195173215,"uuid":"692094629","full_name":"takumi-pro/bookmap_backend","owner":"takumi-pro","description":"BOOKMAPのバックエンドリポジトリ","archived":false,"fork":false,"pushed_at":"2023-10-27T03:59:37.000Z","size":672,"stargazers_count":3,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-06T07:23:19.182Z","etag":null,"topics":["echo","golang","oapi-codegen"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/takumi-pro.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}},"created_at":"2023-09-15T14:45:10.000Z","updated_at":"2023-09-29T16:17:38.000Z","dependencies_parsed_at":"2023-09-16T21:30:29.341Z","dependency_job_id":"7dc936b9-790e-4cf8-a665-aad85f3b9075","html_url":"https://github.com/takumi-pro/bookmap_backend","commit_stats":null,"previous_names":["takumi-pro/bookmap_backend"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/takumi-pro/bookmap_backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumi-pro%2Fbookmap_backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumi-pro%2Fbookmap_backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumi-pro%2Fbookmap_backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumi-pro%2Fbookmap_backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takumi-pro","download_url":"https://codeload.github.com/takumi-pro/bookmap_backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takumi-pro%2Fbookmap_backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T02:39:23.645Z","status":"ssl_error","status_checked_at":"2026-01-17T02:34:19.649Z","response_time":85,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["echo","golang","oapi-codegen"],"created_at":"2026-01-17T03:21:38.464Z","updated_at":"2026-01-17T03:21:40.493Z","avatar_url":"https://github.com/takumi-pro.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BookMap Backend\n\n- [コーディングルール](#coding-rules)\n- [開発構成の概要](#system-configuration)\n- [開発環境の構築](#environment-building)\n- [使用技術について](#technology-used)\n- [各種リポジトリのリンク](#repository)\n\n\u003ch2 id=\"coding-rules\"\u003eコーディングルール\u003c/h2\u003e\n`CONTRIBUTING.md` に記載予定\n\n\u003ch2 id=\"system-configuration\"\u003e開発構成の概要\u003c/h2\u003e\n\u003cimg alt=\"system-configuration\" src=\"https://github.com/takumi-pro/bookmap_backend/assets/65642316/69bd56ea-2a76-430e-9907-5fdc08b0734b\"\u003e\n\n\u003ch2 id=\"environment-building\"\u003e開発環境の構築\u003c/h2\u003e\n\n### docker network構築\nまずはdocker networkを構築する\n```bash\ndocker create network dev_bookmap\n```\n\n### docker network削除\n```bash\ndocker delete network dev_bookmap\n```\n\n### DB起動\n```bash\nmake up-db\n```\n\n### DB停止\n```bash\nmake down-db\n```\n\n\n\n\n### DBドキュメントの確認\nSchemaSpyを使用して開発環境のDBからER図やテーブル、カラム一覧情報を出力する\nにアクセスすることで出力されたドキュメントを確認できる\n- http://localhost:8080\n\n起動コマンド\n```bash\nmake up-spy\n```\n\n停止コマンド\n```bash\nmake down-spy\n```\n\n### Dev Containerのインストール\n今回は`Dev Containers（VSCode拡張機能）`を使用してコンテナ内で開発するため、インストールする\n\n### Golang Appコンテナ起動\nVSCode左下の`\u003e\u003c`アイコンから`コンテナで再度開く`を選択\n\nコンテナの起動に成功したら以下にアクセス可能となる\n- http://localhost:8000\n\n### OpenAPIからコード自動生成\nOpenAPI仕様書に変更が加わった際にはコードにも変更を反映するためコードを生成する\n```bash\noapi-codegen -package bookmap -generate server reference/bookmap.yaml \u003e src/gen/bookmap.gen.go\n```\n\n\u003ch2 id=\"technology-used\"\u003e使用技術について（仮）\u003c/h2\u003e\n\n### 言語・フレームワーク\n- Golang 1.19\n- Echo 4.11.1\n\n### OpenAPI Code Generator\n- oapi-codegen\n\n\n\u003ch2 id=\"repository\"\u003e各種リポジトリのリンク\u003c/h2\u003e\n\n- [バックエンド(api)](https://github.com/takumi-pro/bookmap_backend)\n- [フロントエンド](https://github.com/takumi-pro/bookmap_frontend)\n- [インフラ（IaC）](https://github.com/takumi-pro/bookmap_infra)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakumi-pro%2Fbookmap_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakumi-pro%2Fbookmap_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakumi-pro%2Fbookmap_backend/lists"}