{"id":20497491,"url":"https://github.com/ymdarake/bira-host-react","last_synced_at":"2025-08-03T00:09:28.066Z","repository":{"id":253074343,"uuid":"842378550","full_name":"ymdarake/bira-host-react","owner":"ymdarake","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-12T10:32:54.000Z","size":4699,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T06:28:16.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ymdarake.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":"2024-08-14T08:24:09.000Z","updated_at":"2024-11-12T10:32:58.000Z","dependencies_parsed_at":"2024-11-15T18:11:17.865Z","dependency_job_id":"17a26d2d-6191-4d19-9ab1-5bbbfd9a69e1","html_url":"https://github.com/ymdarake/bira-host-react","commit_stats":null,"previous_names":["ymdarake/bira-host-react"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymdarake%2Fbira-host-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymdarake%2Fbira-host-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymdarake%2Fbira-host-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ymdarake%2Fbira-host-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ymdarake","download_url":"https://codeload.github.com/ymdarake/bira-host-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242087912,"owners_count":20069722,"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-15T18:11:15.665Z","updated_at":"2025-03-05T18:55:50.932Z","avatar_url":"https://github.com/ymdarake.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ビラホスト\nPDFをアップロード、管理するSPAアプリ。\n\n# 開発に必要なツール\n- make\n- Node.js\n- v20.16.0で開発(適宜アプデ)\n- Firebase CLI\n\n# インフラ構成\n\n- Firebase Hosting: SPAアプリを配信\n- Firebase Authentication: 管理者ユーザーの管理\n- Cloud Storage for Firebase: PDFの保管、配信\n- Firestore: PDFの保管パス管理、管理者ユーザーのID管理\n\n# 環境ごとの設定\n- `bira-host-ts`でプロジェクト全体検索をして出てくる箇所を、対象のホスト、ストレージに書き換える。\n\n# 開発で使うコマンド\n\n```sh\n# 依存パッケージインストール\nnpm i\n\n# Firebaseにcliでログイン\nfirebase login\n\n# Firebaseプロジェクトの選択\nfirebase use \u003cプロジェクト名\u003e\n\n# 開発モードで起動\nmake dev\n\n# ビルド\nmake build\n\n# デプロイ\nmake deploy\n\n# ビルドしてデプロイ\nmake build-deploy\n\n# Firestore, Cloud Storageのルールのデプロイ\nmake deploy-rules\n# firestore.rules, storage.rulesで、PDFアップロード・削除が出来るユーザーを限定している.\n# request.auth.uidはFirebase AuthenticationのユーザーのUID.\n########################################\n\n# Cloud StorageのCORS設定のデプロイ\nmake cors\n# ローカル開発中はcors.jsonのoriginに\"*\"を追加しておくとlocalhostその他からCloud Storage（PDF）にアクセスできるようになる。\n########################################\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymdarake%2Fbira-host-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymdarake%2Fbira-host-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymdarake%2Fbira-host-react/lists"}