{"id":18614963,"url":"https://github.com/andrewjbateman/ionic-react-firebase","last_synced_at":"2025-10-08T01:04:42.276Z","repository":{"id":52819600,"uuid":"245659028","full_name":"AndrewJBateman/ionic-react-firebase","owner":"AndrewJBateman","description":":clipboard: Ionic app with react and firebase as a backend","archived":false,"fork":false,"pushed_at":"2024-11-19T02:15:02.000Z","size":1288,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:51:15.449Z","etag":null,"topics":["css3","ionic-react","ionic5","react","react-hooks","react-router"],"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/AndrewJBateman.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-03-07T15:38:47.000Z","updated_at":"2024-04-19T07:44:33.000Z","dependencies_parsed_at":"2022-08-17T15:31:20.327Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/ionic-react-firebase","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-firebase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-firebase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-firebase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-firebase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/ionic-react-firebase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322234,"owners_count":21084333,"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":["css3","ionic-react","ionic5","react","react-hooks","react-router"],"created_at":"2024-11-07T03:27:39.106Z","updated_at":"2025-10-08T01:04:37.236Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Ionic React Firebase\n\n* App using Ionic with React to store data in a Firebase backend. All code from tutorial by [codedamn](https://codedamn.com/)\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/ionic-react-firebase?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/ionic-react-firebase?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/ionic-react-firebase?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/ionic-react-firebase?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Ionic React Firebase](#zap-ionic-react-firebase)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* React [Effect Hook](https://reactjs.org/docs/hooks-effect.html) used to manually change the DOM, equivalent of lifecycle methods componentDidMount, componentDidUpdate \u0026 componentWillUnmount combined.\n* Uses [ion-toast notifications](https://ionicframework.com/docs/api/toast)\n\n## :camera: Screenshots\n\n![Example screenshot](./img/app.png)\n\n## :signal_strength: Technologies\n\n* [Ionic/React v5](https://www.npmjs.com/package/@ionic/react)\n* [React v17](https://reactjs.org/) JavaScript library\n* [React Redux v7](https://react-redux.js.org/)\n* [React Dev Tools Chrome extension](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi/related)\n\n## :floppy_disk: Setup\n\n* Install dependencies using `npm i`\n* Create your own firebase console project and add firebaseConfig to `firebaseConfig.ts`\n* Run `ionic serve` to open the dev server at `http://localhost:8100/`\n\n## :computer: Code Examples\n\n* login function from `login.tsx`\n\n```typescript\nasync function login() {\n    setBusy(true)\n    const res: any = await loginUser(username, password)\n    if (res) {\n      console.log('login res', res)\n      dispatch(setUserState(res.user.email))\n      history.replace('/dashboard')\n      toast('You have logged in')\n    }\n    setBusy(false)\n  }\n```\n\n## :cool: Features\n\n* [React Effects](https://reactjs.org/docs/hooks-effect.html) - `componentDidMount`, `componentDidUpdate` \u0026 `componentWillUnmount` combined, and embrace [JavaScript closures](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Closures#:~:text=A%20closure%20is%20the%20combination,scope%20from%20an%20inner%20function.)\n* Redux reducers used to modify state\n* [DOM Window object browser session history](https://developer.mozilla.org/en-US/docs/Web/API/History_API) used to navigate\n* [React Redux useDispath method](https://react-redux.js.org/api/hooks#usedispatch) used to dispatch actions\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Tutorial completed - all 26 videos completed. Register and Login functions work however when routed to /dashboard just shows a blank screen. Do not update.\n* To-Do: Solve issue of /dashboard page - likely an issue with 'dispatch' in `Dashboard.tsx`.\n\n## :clap: Inspiration\n\n* [CodeDamn Youtube Video Series: Ionic + React + Firebase #1 to #26](https://www.youtube.com/watch?v=WugT638KS3Q)\n* [Ionic api list of people to use in app](https://ionicframework.com/docs/demos/api/list/)\n* [Eslint doc: disallow variable redeclaration (no-redeclare)](https://eslint.org/docs/rules/no-redeclare#disallow-variable-redeclaration-no-redeclare)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-react-firebase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fionic-react-firebase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-react-firebase/lists"}