{"id":19332326,"url":"https://github.com/hhzl/ionic4-start-a5","last_synced_at":"2025-07-20T20:32:16.186Z","repository":{"id":38632965,"uuid":"230515544","full_name":"hhzl/ionic4-start-a5","owner":"hhzl","description":"Based on start-a4; extended with more pages and services. ","archived":false,"fork":false,"pushed_at":"2023-01-07T13:13:10.000Z","size":1778,"stargazers_count":0,"open_issues_count":27,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T07:17:41.451Z","etag":null,"topics":["ionic-framework","ionic4","ionic4-example","karma-jasmine"],"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/hhzl.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":"2019-12-27T20:38:10.000Z","updated_at":"2020-01-29T12:09:09.000Z","dependencies_parsed_at":"2023-02-07T06:16:07.584Z","dependency_job_id":null,"html_url":"https://github.com/hhzl/ionic4-start-a5","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hhzl/ionic4-start-a5","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhzl%2Fionic4-start-a5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhzl%2Fionic4-start-a5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhzl%2Fionic4-start-a5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhzl%2Fionic4-start-a5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhzl","download_url":"https://codeload.github.com/hhzl/ionic4-start-a5/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhzl%2Fionic4-start-a5/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266193779,"owners_count":23890861,"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":["ionic-framework","ionic4","ionic4-example","karma-jasmine"],"created_at":"2024-11-10T02:45:25.096Z","updated_at":"2025-07-20T20:32:16.168Z","avatar_url":"https://github.com/hhzl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Screen shots mobile phone app\n\n## Home page\n![Screen shot Home Page](doc/HomePage_2020-01-09.png)\n\n## Choose ABC page\n![Screen shot Choose ABC Page](doc/ChooseABCPage_2020-01-09.png)\n\n## Picture with labels page\n![Screen shot Picture with Labels Page](doc/Picture_with_Labels_Page_2020-01-09.png)\n\n## Settings page\n![Screen shot Settings Page](doc/SettingsPage_2020-01-09.png)\n\n## Language selection page\n![Screen shot Language Selection Page](doc/LanguageSelection2_2020-01-09.png)\n\n\n# INSTALLATION OF TOOLS\n\nMake sure the [Node.js and npm](https://nodejs.org/en/) are installed.\nCommands for Linux see https://github.com/nodesource/distributions\n\nThen install ionic and cordova from the command line with:\n\n    npm install -g ionic\n\n    npm install -g cordova\n\nThis repository was developed with the following versions:\n\n````\nionic info\n\nIonic:\n\n   Ionic CLI                     : 5.2.0 (/usr/lib/node_modules/ionic)\n   Ionic Framework               : @ionic/angular 4.11.5\n   @angular-devkit/build-angular : 0.801.3\n   @angular-devkit/schematics    : 8.1.3\n   @angular/cli                  : 8.1.3\n   @ionic/angular-toolkit        : 2.1.1\n\nUtility:\n\n   cordova-res : not installed\n   native-run  : 0.2.9 \n\nSystem:\n\n   NodeJS : v10.17.0 (/usr/bin/node)\n   npm    : 6.11.3\n   OS     : Linux 4.15\n````\n\n# SETUP OF DEVELOPMENT AND TEST ENVIRONMENT FOR THE APPLICATION\n\nAssuming git is installed\n\n    git clone https://github.com/hhzl/ionic4-start-a5.git\n\n    cd ionic5-start-a5\n\n    npm install\n\n    npm test\n\nOtherwise download the file https://github.com/hhzl/ionic4-start-a5/archive/master.zip and unzip it. Then\n\n    cd ionic5-start-a5\n\n    npm install\n\n    npm test\n\nThis shows the tests. \n\n![Screen shot Chrome browser of npm test](doc/ionic4_start_blank_a5_npm_test_2020-01-10.png)\n\nSee below how to run the app locally in a browser.\n\n\n# RUN THE APP IN THE BROWSER\nTo run the application in a web browser execute on the command line\n\n    ionic serve\n\nThen use the indicated local web address such as http://localhost:8100 .\n\n\n# HOW SCAFFOLDING WAS DONE\n\nThe scaffolding of the code in the repository was done with\n\n````\nionic start ionic4-start-a5 blank --type=angular\ncd ionic4-start-a5\n\n\nionic generate service services/BoxOfQuestions\nionic generate service services/LWdb\nionic generate service services/Data\nionic generate service services/Settings\n\n\nionic generate page pages/choose-mode\nionic generate page pages/choose-mode-m\nionic generate page pages/choose-abc\nionic generate page pages/learn-mode\nionic generate page pages/learn-mode-m\nionic generate page pages/picture-with-labels\nionic generate page pages/practice-mode\nionic generate page pages/wordlist\nionic generate page pages/about\nionic generate page pages/settings\nionic generate page pages/languageSelection\nionic generate page pages/languageSelection2\nionic generate page pages/summary\n \n````\n\n\nThe generated code is in the src directory and has to be configured. Such as for example changeing the header of the pages files (home page excluded) to\n\n````\n\u003cion-header\u003e\n  \u003cion-toolbar color=\"primary\"\u003e\n    \u003cion-title\u003e...\u003c/ion-title\u003e\n    \u003cion-buttons slot=\"start\"\u003e\n      \u003cion-back-button\u003e\u003c/ion-back-button\u003e\n    \u003c/ion-buttons\u003e\n  \u003c/ion-toolbar\u003e\n\u003c/ion-header\u003e\n````\n\nThe header of the page home.page.html is\n\n````\n\u003cion-header\u003e\n    \u003cion-toolbar color=\"primary\"\u003e\n    \u003cion-buttons slot=\"end\"\u003e\n        \u003cion-button routerLink=\"/about\"\u003e\n            \u003cion-icon name=\"information-circle\"\u003e\u003c/ion-icon\u003e\n        \u003c/ion-button\u003e\n    \u003c/ion-buttons\u003e\n    \u003cion-title\u003eIonic 4 start a5\u003c/ion-title\u003e\n    \u003c/ion-toolbar\u003e\n\u003c/ion-header\u003e\n````\n\n\n\n\n# RUN THE APP ON THE DEVICE\n\n   \n## Android\n\nAndroid environment setup: https://ionicframework.com/docs/installation/android, available for Windows, macOS and Linux.\n\nBuild apk file with\n\n    ionic cordova run android\n\n\n## Note about testing\n\nTo make 'should create' tests work for pages\n````\nimport { RouterTestingModule } from '@angular/router/testing';\n````\nhas to be imported and then used in\n````\nimports: [IonicModule.forRoot(),RouterTestingModule]\n````\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhzl%2Fionic4-start-a5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhzl%2Fionic4-start-a5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhzl%2Fionic4-start-a5/lists"}