{"id":18614958,"url":"https://github.com/andrewjbateman/ionic-react-example","last_synced_at":"2026-04-13T22:31:27.096Z","repository":{"id":96860307,"uuid":"402503889","full_name":"AndrewJBateman/ionic-react-example","owner":"AndrewJBateman","description":":clipboard: Ionic 6 app using lightweight map modules to show Yelp API data","archived":false,"fork":false,"pushed_at":"2022-04-10T09:51:47.000Z","size":1056,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-17T01:34:31.994Z","etag":null,"topics":["ionic","ionic-react","ionic6","react","scss","tutorial-code","yelp-api"],"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/AndrewJBateman.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":"2021-09-02T17:17:46.000Z","updated_at":"2022-04-10T09:51:50.000Z","dependencies_parsed_at":"2023-03-30T11:35:00.925Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/ionic-react-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/ionic-react-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/ionic-react-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-react-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31773976,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ionic","ionic-react","ionic6","react","scss","tutorial-code","yelp-api"],"created_at":"2024-11-07T03:27:38.791Z","updated_at":"2026-04-13T22:31:27.060Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"JavaScript","readme":"# :zap: Ionic React Example\n\n* App using the very latest Ionic 6 with React to show Yelp REST API data with locations on a map\n* Tutorial example code from [Alan Montgomery](https://alanmontgomery.co.uk/), Senior React Dev with changes to code and SCSS colors.\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-example?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/ionic-react-example?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/ionic-react-example?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/ionic-react-example?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Ionic React Example](#zap-ionic-react-example)\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 * Development](#floppy_disk-setup--development)\n  * [:floppy_disk: Setup * Build, Android Studio](#floppy_disk-setup--build-android-studio)\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* Yelp REST API key required\n* New Ionic 6 bottom sheet drawer modal used to show list of places, activated by an Ionfab button\n* [Restaurant Finder Ionic-React UI app](https://ionicreacthub.com/ionic-restaurant-finder-with-maps) by [Alan Montgomery](https://alanmontgomery.co.uk/) used to try out new Ionic 6 bottom sheet drawer modal\n* Yelp REST API http calls made using Axios from express app `Server.js`\n\n## :camera: Screenshots\n\n![Example screenshot](./imgs/map.png)\n\n## :signal_strength: Technologies\n\n* [Ionic/React v6](https://www.npmjs.com/package/@ionic/react) used to create app\n* [Ionic Colour generator](https://ionicframework.com/jp/docs/fr/theming/color-generator)\n* [React v17](https://reactjs.org/) JavaScript library\n* [Capacitor v1](https://capacitor.ionicframework.com/docs/) cross-platform app runtime\n* [React Dev Tools Chrome extension](https://chrome.google.com/webstore/detail/reactdevelopertools/fmkadmapgofadopljbjfkapdkoienihi/related) to help with debugging etc.\n\n* [React Context](https://reactjs.org/docs/context.html) to pass data down the component tree\n* [React Hook State](https://reactjs.org/docs/hooks-state.html) to use state\n* [Yelp Developers](https://www.yelp.com/developers) REST API - key required\n* [pigeon-maps v0.19.7](https://www.npmjs.com/package/pigeon-maps) ReactJS maps without external dependencies\n* [Axios v0.21.1](https://www.npmjs.com/package/axios) promise based HTTP client for the browser and node.js\n\n## :floppy_disk: Setup * Development\n\n* Install dependencies using `npm i`\n* Add Yelp API key to `server.js`\n* `node server.js` to start server\n* Run `npm run start` or `ionic serve` to open the frontend at `http://localhost:8100/`\n\n## :floppy_disk: Setup * Build, Android Studio\n\n* Run `ionic build` to create build files\n* If you don't have it already then Install Android Studio (on Windows 10 Home in my case)\n* Connect mobile device to Android Studio via USB. To go into dev mode on Realme 5 Pro mobile phone connected via USB to Android: Go to 'About Phone'/'Version Baseband \u0026 Kernal' in phone settings then click 7 times on 'Version' and enter phone access code. Go to Settings/Additional Settings/Developer options and enable 'USB debugging'\n\n## :computer: Code Examples\n\n* `Tab1.jsx` IonFab button activates IonModal that opens to display Yelp REST API search data and can be swiped to close\n\n```jsx\n\u003cIonFab\n  vertical=\"bottom\"\n  horizontal=\"start\"\n  slot=\"fixed\"\n  onClick={() =\u003e setShowListModal(!showListModal)}\n\u003e\n  \u003cIonFabButton\u003e\n    \u003cIonIcon icon={list} /\u003e\n  \u003c/IonFabButton\u003e\n\u003c/IonFab\u003e\n\n\u003cIonModal\n  isOpen={showListModal}\n  onDidDismiss={() =\u003e setShowListModal(false)}\n  swipeToClose={true}\n  initialBreakpoint={0.6}\n  breakpoints={[0, 0.6, 1]}\n  backdropBreakpoint={0.6}\n\u003e\n  \u003cListModal\n    hideModal={() =\u003e setShowListModal(false)}\n    searchTerm={searchTerm}\n    search={setSearchTerm}\n    records={results}\n  /\u003e\n\u003c/IonModal\u003e\n```\n\n## :cool: Features\n\n* [Side navigation drawer](https://ionicframework.com/docs/api/menu)\n\n## :clipboard: Status \u0026 To Do List\n\n* Status: Working\n* To-Do: Nothing\n\n## :clap: Inspiration\n\n* [Alan Montgomery: First look at the Ionic Bottom Sheet Drawer with map - Ionic V6 Beta (React)](https://www.youtube.com/watch?v=U2mdZrO5Hlc)\n* [Github: ionic-restaurant-finder](https://github.com/alanmontgomery/ionic-restaurant-finder)\n\n## :file_folder: License\n\n* N/A\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-react-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fionic-react-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-react-example/lists"}