{"id":18187801,"url":"https://github.com/uhooi/uhooipicbook-firebase","last_synced_at":"2026-04-28T08:05:15.014Z","repository":{"id":38770044,"uuid":"261090265","full_name":"uhooi/UhooiPicBook-Firebase","owner":"uhooi","description":"Uhooi's character book.","archived":false,"fork":false,"pushed_at":"2023-01-10T02:42:19.000Z","size":226,"stargazers_count":1,"open_issues_count":17,"forks_count":1,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-04-07T13:46:41.303Z","etag":null,"topics":["firebase","firestore","typescript","uhooi"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uhooi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-04T05:42:37.000Z","updated_at":"2022-04-11T19:01:36.000Z","dependencies_parsed_at":"2023-02-08T16:46:44.906Z","dependency_job_id":null,"html_url":"https://github.com/uhooi/UhooiPicBook-Firebase","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/uhooi/UhooiPicBook-Firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhooi%2FUhooiPicBook-Firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhooi%2FUhooiPicBook-Firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhooi%2FUhooiPicBook-Firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhooi%2FUhooiPicBook-Firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uhooi","download_url":"https://codeload.github.com/uhooi/UhooiPicBook-Firebase/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uhooi%2FUhooiPicBook-Firebase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32371709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"online","status_checked_at":"2026-04-28T02:00:07.250Z","response_time":56,"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":["firebase","firestore","typescript","uhooi"],"created_at":"2024-11-03T02:03:23.131Z","updated_at":"2026-04-28T08:05:14.976Z","avatar_url":"https://github.com/uhooi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# UhooiPicBook-Firebase\n\n[![](https://github.com/uhooi/UhooiPicBook-Firebase/workflows/CI/badge.svg)](https://github.com/uhooi/UhooiPicBook-Firebase/actions?query=workflow%3ACI)\n[![License](https://img.shields.io/github/license/uhooi/UhooiPicBook-Firebase)](https://github.com/uhooi/UhooiPicBook-Firebase/blob/master/LICENSE)\n[![Twitter](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Ftwitter.com%2Fthe_uhooi)](https://twitter.com/the_uhooi)\n\n![logo](./docs/logo.png)\n\nTesting Firestore security rules for Uhooi's character book.\n\n## Environment\n\n- Node.js: v12.14.0\n- npm: 6.13.4\n\n## Setup\n\n1. Clone the project.\n\n```\n$ git clone https://github.com/uhooi/UhooiPicBook-Firebase.git\n$ cd UhooiPicBook-Firebase\n```\n\n2. Install Firebase CLI.\n\n```\n$ npm install -g firebase-tools\n```\n\n3. Install the emulator.\n\n```\n$ firebase setup:emulators:firestore\n```\n\n4. Install packages managed by npm.\n\n```\n$ npm install\n```\n\n## Testing\n\n1. Run firebase login to authenticate the CLI.\n\n```\n$ firebase login:ci\n$ export FIREBASE_TOKEN={generated Firebase token}\n```\n\n2. Export envirionment variables.\n\n```\n$ export FIREBASE_DATABASE_EMULATOR_HOST=localhost:9000\n$ export FIRESTORE_EMULATOR_HOST=localhost:8080\n```\n\n3. Run `npm test` .\n\n## References\n\n- https://firebase.google.com/docs/cli/\n- https://firebase.google.com/docs/firestore/security/test-rules-emulator\n- https://firebase.google.com/docs/firestore/security/rules-structure\n- https://github.com/firebase/quickstart-nodejs/tree/master/firestore-emulator/typescript-quickstart\n- https://github.com/mogaming217/youtube-simple-todo-sample\n- https://techlife.cookpad.com/entry/2018/11/05/143000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuhooi%2Fuhooipicbook-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuhooi%2Fuhooipicbook-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuhooi%2Fuhooipicbook-firebase/lists"}