{"id":24929797,"url":"https://github.com/traptitech/jomon-ui","last_synced_at":"2025-04-15T01:34:47.963Z","repository":{"id":40431520,"uuid":"335569222","full_name":"traPtitech/Jomon-UI","owner":"traPtitech","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-08T13:34:00.000Z","size":4675,"stargazers_count":3,"open_issues_count":29,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-04-08T14:33:16.657Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/traPtitech.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":"2021-02-03T09:19:13.000Z","updated_at":"2025-04-08T13:34:03.000Z","dependencies_parsed_at":"2024-01-08T05:22:54.871Z","dependency_job_id":"459d222f-bff5-4436-b55d-01cf50e98e3c","html_url":"https://github.com/traPtitech/Jomon-UI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2FJomon-UI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2FJomon-UI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2FJomon-UI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traPtitech%2FJomon-UI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traPtitech","download_url":"https://codeload.github.com/traPtitech/Jomon-UI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248989607,"owners_count":21194620,"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":["hacktoberfest"],"created_at":"2025-02-02T13:51:54.091Z","updated_at":"2025-04-15T01:34:47.956Z","avatar_url":"https://github.com/traPtitech.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eJomon UI\u003c/h1\u003e\n  \u003cp\u003e\n    \u003cstrong\u003eAn accounting support system's UI\u003c/strong\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://apis.trap.jp/?urls.primaryName=Jomon%20v2%20API\"\u003eJomon API\u003c/a\u003e\u0026emsp;\u003ca href=\"https://github.com/traPtitech/Jomon\"\u003eJomon Backend\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/traPtitech/Jomon-UI/actions/workflows/main.yml\"\u003e\u003cimg src=\"https://github.com/traPtitech/Jomon-UI/actions/workflows/main.yml/badge.svg\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# Get started\n\n- Prerequisites\n  - JVM for OpenAPI Generator\n  - node 22.x\n\n```sh\nnpm install\nnpm run dev\n```\n\n## featuresディレクトリについて\n\n各featureについて、ディレクトリを設けています。\n参考: \u003chttps://zenn.dev/knowledgework/articles/91a3dd575f99a2\u003e\nselectorは現状storeに置くことで済ませています\n\n- model\n  - featureに関連する型を定義します\n- repository\n  - openapiから生成されたapiを用いた通信と、後述のconverterを用いたデータの変換をします\n- usecase\n  - 実際に使うときの処理です\n- converter\n  - openapiから生成されたサーバーの型とフロントで扱う型の相互変換をします\n  - 今はseedからseedDataへの変換はここに書かずにrepositoryで直接書いてしまっています\n- mock\n  - mswで使うためのmockデータとmock handlerを定義します\n\nデータの型の流れ\n\n- GET\n  - 生成された型→(converter)→modelの型\n- POST, PUT\n  - modelのseed型→(repositoryで変換)→openapiの型\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraptitech%2Fjomon-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraptitech%2Fjomon-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraptitech%2Fjomon-ui/lists"}