{"id":21244207,"url":"https://github.com/aaronksaunders/ionic-react-auth-firebase","last_synced_at":"2025-07-10T21:30:32.121Z","repository":{"id":38670460,"uuid":"184113036","full_name":"aaronksaunders/ionic-react-auth-firebase","owner":"aaronksaunders","description":"react with ionic v4 web components tabs, firebase authentication \u0026 mobx for state management","archived":false,"fork":false,"pushed_at":"2023-03-06T20:49:26.000Z","size":4320,"stargazers_count":69,"open_issues_count":15,"forks_count":18,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-05T17:43:13.664Z","etag":null,"topics":["create-react-app","firebase","firebase-auth","firebase-database","ionic-framework","ionic4","mobx","mobx-react","react-router","reactjs"],"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/aaronksaunders.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}},"created_at":"2019-04-29T17:18:36.000Z","updated_at":"2024-05-30T15:12:21.000Z","dependencies_parsed_at":"2023-02-06T09:16:49.845Z","dependency_job_id":null,"html_url":"https://github.com/aaronksaunders/ionic-react-auth-firebase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aaronksaunders/ionic-react-auth-firebase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fionic-react-auth-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fionic-react-auth-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fionic-react-auth-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fionic-react-auth-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronksaunders","download_url":"https://codeload.github.com/aaronksaunders/ionic-react-auth-firebase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronksaunders%2Fionic-react-auth-firebase/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264666021,"owners_count":23646570,"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":["create-react-app","firebase","firebase-auth","firebase-database","ionic-framework","ionic4","mobx","mobx-react","react-router","reactjs"],"created_at":"2024-11-21T01:18:57.902Z","updated_at":"2025-07-10T21:30:31.732Z","avatar_url":"https://github.com/aaronksaunders.png","language":"JavaScript","readme":"[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/W7W31U7HM)\n## React Project using Ionic v5 Components - Updated April 2020\n\n\n\u003e See YouTube Video with Updated Content\n- https://www.youtube.com/playlist?list=PL2PY2-9rsgl3aYbgV5Y_jFkCH7WWsiP-f\n\n\u003eAugust 2020 - Updated to latest versions of ionic/react, mobx and capacitor, refactored login process to be \"clearer\" using mobx hooks instead of inject\n\n\u003eApril 2020 - Updated to latest versions of ionic/react, mobx and capacitor\n\n\u003eOctober 2019 - This is a link to another sample application using Ionic Framework, Firebase and React, but this one uses react-hooks. This is sample code from the ReactJS Course I taught at [Inclusive Innovation Incubator](www.in3dc.com) as part of our #TheFutureIsWrittenInCode initiative\n\n\u003e[https://github.com/aaronksaunders/react-course-firebase-hooks-app/tree/capacitor-ionic](https://github.com/aaronksaunders/react-course-firebase-hooks-app/tree/capacitor-ionic)\n\n---\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/aaronksaunders/ionic-react-auth-firebase/master/screenshots/Screen%20Shot%202020-04-22%20at%206.12.57%20PM.png\" width=\"66%\" /\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n  \u003cstrong\u003e\u003ca href=\"https://www.youtube.com/playlist?list=PL2PY2-9rsgl3OHIMYb1AzVG5wADUxOmUW\"\u003eClick To View Ionic React Video Playlist\u003c/a\u003e\u003c/strong\u003e\n  \u003c/p\u003e\n---\n\nResponding to suggestion from Max Lynch...\n\u003e \"If someone wrote a tutorial on using Ionic React with Firebase that would be pretty cool (hint hint)\"\n\nSo I pulled together some of the code I was already playing with, will post more as I work on additional features\n\n- IonTabs\n  - Tabs Detail Page\n- IonDatePicker\n- IonModal\n- IonToast\n- Firebase Authentication\n- Mobx State Management\n\nStill working on \n- Firebase CRUD\n- Firebase Create Account\n- IonList\n\n### Configure Firebase\n\n```javascript\n// firebaseService.js - set your own firebase project information\nvar firebaseConfig = {\n  apiKey: \"xxxxxxxxxxxxxxxxx\",\n  authDomain: \"xxxxxxxxxxxx.firebaseapp.com\",\n  databaseURL: \"https://xxxxxxxxxxxx.firebaseio.com\",\n  projectId: \"xxxxxxxxxxxx\",\n  storageBucket: \"xxxxxxxxxxxx.appspot.com\",\n  messagingSenderId: \"xxxxxxxxxxxx\"\n};\n```\n\n## Screenshots\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://raw.githubusercontent.com/aaronksaunders/ionic-react-auth-firebase/master/screenshots/Screen%20Shot%202019-04-29%20at%2011.32.49%20PM.png\" height=\"600\" style=\"padding:10px\"\u003e\n\n \u003cimg src=\"https://raw.githubusercontent.com/aaronksaunders/ionic-react-auth-firebase/master/screenshots/Screen%20Shot%202019-04-29%20at%2011.30.39%20PM.png\" height=\"600\" style=\"padding:10px\"\u003e\n \u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n \u003cimg src=\"https://raw.githubusercontent.com/aaronksaunders/ionic-react-auth-firebase/master/screenshots/Screen%20Shot%202019-04-29%20at%2011.30.54%20PM.png\" height=\"600\" style=\"padding:10px\"\u003e\n  \n \u003cimg src=\"https://raw.githubusercontent.com/aaronksaunders/ionic-react-auth-firebase/master/screenshots/Screen%20Shot%202019-04-29%20at%2011.31.09%20PM.png\" height=\"600\" style=\"padding:10px\"\u003e\n \u003c/p\u003e\n  \n\n## Adding Capacitor\n```\nnpm install --save @capacitor/cli @capacitor/core\n```\nnext you need to build the app\n```\nnpm run build\n```\nthen edit the `capacitor.config.json` to point to the web directory\n```json\n{\n  \"appId\": \"com.aks.reactionicfb\",\n  \"appName\": \"reactionicfb\",\n  \"bundledWebRuntime\": false,\n  \"npmClient\": \"npm\",\n  \"webDir\": \"build\" \u003c=== make this change\n}\n```\n\nNow add `ios` or `android` to the application, on ios please checkout this known issue https://github.com/ionic-team/capacitor/issues/1448\n```\nnpx cap add ios\n```\nUpdate the `index.html` to create the safe area on devices\n```html\n\u003cmeta name=\"viewport\" content=\"initial-scale=1,user-scalable=no, width=device-width, \n                               height=device-height, viewport-fit=cover\"\u003e\n```\nThen to run on ios device\n```\nnpm run build; npx cap sync\n```\nMore information available at the capacitor website https://capacitor.ionicframework.com/docs/getting-started/\n\n----\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting\n\n### Analyzing the Bundle Size\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size\n\n### Making a Progressive Web App\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app\n\n### Advanced Configuration\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration\n\n### Deployment\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/deployment\n\n### `npm run build` fails to minify\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify\n","funding_links":["https://ko-fi.com/W7W31U7HM"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronksaunders%2Fionic-react-auth-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronksaunders%2Fionic-react-auth-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronksaunders%2Fionic-react-auth-firebase/lists"}