{"id":18888520,"url":"https://github.com/collardeau/firebase-ignite","last_synced_at":"2025-07-06T15:02:00.289Z","repository":{"id":86028169,"uuid":"88292252","full_name":"collardeau/firebase-ignite","owner":"collardeau","description":"Firebase PWA Boilerplate","archived":false,"fork":false,"pushed_at":"2017-05-03T20:17:07.000Z","size":77,"stargazers_count":12,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T23:34:12.162Z","etag":null,"topics":["cloud-functions","firebase","firebase-cloud-messaging","pwa","react","recompose","rxjs","serverless","webpack2"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/collardeau.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":"2017-04-14T18:22:14.000Z","updated_at":"2019-04-09T12:41:18.000Z","dependencies_parsed_at":"2023-03-05T19:30:35.830Z","dependency_job_id":null,"html_url":"https://github.com/collardeau/firebase-ignite","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/collardeau/firebase-ignite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Ffirebase-ignite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Ffirebase-ignite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Ffirebase-ignite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Ffirebase-ignite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/collardeau","download_url":"https://codeload.github.com/collardeau/firebase-ignite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/collardeau%2Ffirebase-ignite/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263922475,"owners_count":23530334,"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":["cloud-functions","firebase","firebase-cloud-messaging","pwa","react","recompose","rxjs","serverless","webpack2"],"created_at":"2024-11-08T07:44:43.358Z","updated_at":"2025-07-06T15:02:00.251Z","avatar_url":"https://github.com/collardeau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n\n## Intro\nA Firebase boilerplate for the Web: with auth, storage, messaging and cloud functions out of the box. Bundled with Webpack 2. `firebase-ignite` is a serverless PWA.\n\n#### Get started\n\nClone or fork the repo: `https://github.com/collardeau/firebase-ignite.git`\n\n#### Install Dependencies\n\nTo deploy cloud functions, you'll need the Firebase CLI:\n\n`npm install -g firebase-tools`\n\nlogin to firebase if you haven't already:\n`firebase login`\n\ninstall the local npm dependencies:\n\n`npm install` in the root folder and the `functions` folder as well.\n\n#### Set up Firebase\n\nThere are two environments to ready: `staging` and `production`.\n\n- create 2 new firebase apps (for instance: `my-app-production` and `my-app-staging`)\nat https://firebase.google.com\n\n- enable sign-in method for email/password for both (in the firebase console)\n\nNow, **edit in the configs** in the following places:\n\n- `src/config.js`\n- `sw/firebase-messaging-staging.js`\n- `sw/firebase-messaging-producton.js`\n\nFinally, \u003cb\u003ealias your projects\u003c/b\u003e, `staging` and `production` respectively, with:\n\n`firebase use --add`\n\nYou're ignited and ready to go.\n\n`npm run dev`\n\n## Devving\n\nBe sure you've deployed the cloud functions first (see above), as a cloud function is used to create user profiles on registration.\n\n`npm run dev` runs a webpack dev server with live reload at `localhost:8080`.\n\nThe staging env is used in DEV. PWA capacity is disabled to avoid caching, that can be tested on a staging deployment.\n\n## Test Drive\n\nOnce you run the app, you'll see a demo of the firebase integration. You'll be able to register/login (auth), save an avatar photo (storage), and send yourself notifications (messaging / cloud functions).\n\nThe UI uses React (with Recompose) with an app shell, but that's just to demo. `firebase-ignite` gives you a lot of freedom once you're hooked in firebase itself. Use your favorite tools.\n\nCheck the cloud functions logs in the firebase console.\n\n## Deploy\n\n#### Static Web App\n\nTo deloy the app, you must first package your bundle and assets for the correct environment:\n\n`npm run build:staging` or `npm run build:production`.\n\nThis will move everything you need into the `dist` folder, which still needs to be deployed, for example using zeit now:\n\n`npm install now -g`\n`now dist`\n\n#### Cloud Functions\n\nTarget an env with:\n\n`firebase use staging` or `firebase use production`\n\nThen, simply: \n\n`firebase deploy --only functions`\n\nand optionally return to the staging env for safety:\n`firebase use staging`\n\n## Code Architecture\n\nWIP\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollardeau%2Ffirebase-ignite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcollardeau%2Ffirebase-ignite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcollardeau%2Ffirebase-ignite/lists"}