{"id":21827513,"url":"https://github.com/laixiangran/ionic-start","last_synced_at":"2026-01-24T17:01:13.086Z","repository":{"id":138975060,"uuid":"90004936","full_name":"laixiangran/ionic-start","owner":"laixiangran","description":"Ionic起步项目，目前更新到Ionic3.x","archived":false,"fork":false,"pushed_at":"2018-10-11T07:49:23.000Z","size":3997,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T03:56:24.783Z","etag":null,"topics":["ionic","ionic-satrt"],"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/laixiangran.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2017-05-02T07:36:01.000Z","updated_at":"2023-05-30T00:37:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"56a0cf40-d51d-4286-aa62-1e0385756a2a","html_url":"https://github.com/laixiangran/ionic-start","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laixiangran/ionic-start","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fionic-start","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fionic-start/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fionic-start/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fionic-start/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laixiangran","download_url":"https://codeload.github.com/laixiangran/ionic-start/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laixiangran%2Fionic-start/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28732216,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"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-satrt"],"created_at":"2024-11-27T18:13:22.956Z","updated_at":"2026-01-24T17:01:13.075Z","avatar_url":"https://github.com/laixiangran.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ionic-start\n\n[Ionic](http://ionicframework.com/docs/)起步项目，目前更新到Ionic3.x\n\n[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](/LICENSE)\n\n[![GitHub forks](https://img.shields.io/github/forks/laixiangran/ionic-start.svg?style=social\u0026label=Fork)](https://github.com/laixiangran/ionic-start/fork)\n[![GitHub stars](https://img.shields.io/github/stars/laixiangran/ionic-start.svg?style=social\u0026label=Star)](https://github.com/laixiangran/ionic-start)\n\n## 实现功能\n\n- 统一配置API路径、新版本APP下载路径，获取是否连接网络、获取APP基本信息等（`config.service.ts`）\n\n- 每个请求统一默认显示加载动画、请求header添加令牌属性URMS_LOGIN_TOKEN、请求错误统一处理等（`request.service.ts`）\n\n- 检测网络是否断开及重连等（`app.component.ts`）\n\n- 检测服务器是否有新版本、可下载APP并打开安装（只支持android）、检测是否已经登录等（`login.ts`）\n\n- 持久化保存token及用户信息（`auth.service.ts`）\n\n- 集成高德地图、highchart，实现简单天气预报（调用高德api）\n\n- 通过 URL Scheme 可以在外部（如浏览器）通过代码打开 APP（使用 `ionicStart://任意值` 即可）\n\n- ...\n\n## 搭建环境（[详细教程](http://www.cnblogs.com/laixiangran/p/8944435.html)）\n\n- Install [Nodejs](https://nodejs.org/zh-cn/) (\u003e= 6.9.0)\n\n- Install [Java JDK ](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)\n\n- Install [Apache Ant](http://mirror.tcpdiag.net/apache//ant/binaries/apache-ant-1.9.4-bin.zip)\n\n- Install [Android SDK]( http://developer.android.com/sdk/index.html)\n\n- `npm install -g ionic cordova@^7.0.0` - 安装全局的ionic和cordova\n\n- `npm install` - 安装依赖包\n\n- `npm run add` - 添加安卓平台（cordova-android 固定为 6.3.0）\n\n## 启动和构建项目\n\n- `npm start` - 启动项目进行开发\n\n- `npm run resources` - 生成图标和启动页（resources下必须有icon.png和splash.png）\n\n- `npm run device` - 构建并启动设备运行（需要配置 `signing` 下的文件，查看 `signing` 目录下的 `README.md`）\n\n- `npm run build` - 构建APP（需要配置 `signing` 下的文件，查看 `signing` 目录下的 `README.md`）\n\n## 其它资料\n\n- [sass](http://sass-lang.com/)\n- [karma](https://karma-runner.github.io/1.0/index.html)\n- [tslint](https://palantir.github.io/tslint/) \u0026 [codelyzer](https://github.com/mgechev/codelyzer)\n- [typescript](https://www.typescriptlang.org/) \u0026 [@types](https://www.npmjs.com/~types)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaixiangran%2Fionic-start","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaixiangran%2Fionic-start","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaixiangran%2Fionic-start/lists"}