{"id":19701957,"url":"https://github.com/joelvoss/firebase-rest-example","last_synced_at":"2026-04-21T10:04:49.160Z","repository":{"id":105807060,"uuid":"205727529","full_name":"joelvoss/firebase-rest-example","owner":"joelvoss","description":"Example REST application to demonstate the usage of firebase auth.","archived":false,"fork":false,"pushed_at":"2023-11-10T05:44:08.000Z","size":26,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T16:16:44.901Z","etag":null,"topics":["firebase","firebase-auth","rest-api"],"latest_commit_sha":null,"homepage":null,"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/joelvoss.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-01T20:15:29.000Z","updated_at":"2019-12-15T20:15:47.000Z","dependencies_parsed_at":"2025-02-27T12:55:57.623Z","dependency_job_id":"15973dd9-28b6-4551-aaab-b6d02c3977a4","html_url":"https://github.com/joelvoss/firebase-rest-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joelvoss/firebase-rest-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelvoss%2Ffirebase-rest-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelvoss%2Ffirebase-rest-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelvoss%2Ffirebase-rest-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelvoss%2Ffirebase-rest-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joelvoss","download_url":"https://codeload.github.com/joelvoss/firebase-rest-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joelvoss%2Ffirebase-rest-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269980802,"owners_count":24507270,"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","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"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","firebase-auth","rest-api"],"created_at":"2024-11-11T21:12:18.279Z","updated_at":"2025-10-31T09:35:43.568Z","avatar_url":"https://github.com/joelvoss.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# firebase-rest-example\n\nExample REST application to demonstate the usage of firebase auth.\n\n## Requirements\n\n- Node ^10.14.2\n- npm ^6.9.0\n- Firebase project \u0026 private key\n\n## Prerequisites\n\nWe assume that a firebase project has already been created and a new private key\nfor the default service account has been generated.\n\n1. Download the private key of your firebase service account and place it inside\n   the `secret/` folder.\n\n2. Make a copy of `example.env` and name it `.env`.  \n   ➞ `cd` into this directory and run `cp example.env .env`\n\n3. Replace the placeholder values with real values.  \n   You can find those in your firebase admin console under \\\n   `https://console.firebase.google.com/u/1/project/\u003cproject-id\u003e/settings/general/`\n\n## Usage\n\n1. Make sure that all requirements and prerequisites are met.\n\n2. Install application dependencies.\n\n```text\nnpm install  OR  yarn install\n```\n\n3. Validate application setup\n\n```text\nnpm run validate  OR  yarn validate\n```\n\n4. Build application\n\n```text\nnpm run build -- -c  OR  yarn build -c\n```\n\n5. Start the application either in development or production.\n\n```text\nnpm start  OR  yarn start\n```\n\n## Notes about authentication\n\nThe application expects a bearer token to authenticate incoming request.\nTo mint such an authentication token, use the Firebase Client SDK in your\nclient application.\n\nIn addition, this application registers a route ro generate a bearer token but\nit is noted that this functions merely as an escape hatch.\n\n---\n\nThis project was bootstrapped with [jvdx](https://github.com/joelvoss/jvdx).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelvoss%2Ffirebase-rest-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoelvoss%2Ffirebase-rest-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoelvoss%2Ffirebase-rest-example/lists"}