{"id":13671908,"url":"https://github.com/windiest/Angular-news","last_synced_at":"2025-04-27T18:31:56.068Z","repository":{"id":107581000,"uuid":"42087393","full_name":"windiest/Angular-news","owner":"windiest","description":":panda_face:基于angular.js,weui和node.js重写的新闻客户端 Based on angular.js, weui and node.js rewrite news client","archived":false,"fork":false,"pushed_at":"2017-05-22T01:35:43.000Z","size":1429,"stargazers_count":1032,"open_issues_count":8,"forks_count":303,"subscribers_count":99,"default_branch":"master","last_synced_at":"2025-04-12T21:29:39.246Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://wscats.github.io/Angular-news/news/indexTest.html","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/windiest.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}},"created_at":"2015-09-08T03:15:50.000Z","updated_at":"2025-02-21T21:49:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"6906ea84-44a8-4ca2-a13e-55fba4cc3ee0","html_url":"https://github.com/windiest/Angular-news","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/windiest%2FAngular-news","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windiest%2FAngular-news/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windiest%2FAngular-news/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/windiest%2FAngular-news/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/windiest","download_url":"https://codeload.github.com/windiest/Angular-news/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251187349,"owners_count":21549621,"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":[],"created_at":"2024-08-02T09:01:21.760Z","updated_at":"2025-04-27T18:31:53.314Z","avatar_url":"https://github.com/windiest.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cp\u003e\u003cimg width=\"150\" src=\"https://wscats.github.io/Angular-news/news/image/windiest.png\"\u003e\u003c/p\u003e\n\n\u003ch1\u003eAngular News\u003c/h1\u003e\n\n\u003cp\u003e\n  \u003cstrong\u003eUse Weui and Angular prepared by the news client\u003c/strong\u003e,\n  \u003ca href=\"https://wscats.github.io/Angular-news/news/indexTest.html#/index/list\"\u003eLive Demo\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n  \u003csub\u003eMade with ❤︎ by\n    \u003ca href=\"https://github.com/windiest\"\u003eWinds\u003c/a\u003e and\n    \u003ca href=\"https://github.com/Wscats\"\u003eWscats\u003c/a\u003e\n  \u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cp\u003e\n\u003ca href=\"https://github.com/Wscats/news\"\u003e\u003cimg src=\"https://wscats.github.io/Angular-news/news/image/npm.svg\" alt=\"NPM version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Wscats/news\"\u003e\u003cimg src=\"https://wscats.github.io/Angular-news/news/image/mit.svg\" alt=\"MIT License\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Wscats/news\"\u003e\u003cimg src=\"https://wscats.github.io/Angular-news/news/image/linux.svg\" alt=\"Linux Build\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/Wscats/news\"\u003e\u003cimg src=\"https://wscats.github.io/Angular-news/news/image/windows.svg\" alt=\"Window Build\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003c/div\u003e\n\n\n## Installation(Git)\n\n克隆项目地址并下载（需要已安装[Git](https://git-scm.com/downloads)），[点击预览（移动端效果更佳）](https://wscats.github.io/Angular-news/news/indexTest.html)，[新增Vue2版本](https://wscats.github.io/Angular-news/vue-news/public/index.html)\n```\ngit clone https://github.com/Wscats/news.git\n```\n\n启动服务（http://localhost:12345/news/index.html）\n```\nnpm run dev\n```\n## Building\n通过`npm`安装本地服务第三方依赖模块（需要已安装[Node.js](https://nodejs.org/)），当然也可以先不安装依赖暂时省略这步，运行`node http`直接查看项目效果\n```\nnpm install\n```\n然后执行[gulp](https://github.com/gulpjs/gulp)构建项目文件和打开服务器等\n```\nnpm run test\n```\n\n\n## Installation(NPM)\n\nnpm安装名为20的模块\n```\nnpm install 20\n```\n找到模块下载后的位置，在node_modules的20文件夹下\n```\ncd /node_modules/20\n```\n通过`npm`安装本地服务第三方依赖模块（需要已安装[Node.js](https://nodejs.org/)），当然也可以先不安装依赖暂时省略这步，运行`node http`直接查看项目效果\n```\nnpm install\n```\n执行node指令运行http.js\n```\nnode http\n```\n用浏览器打开链接\n```\nhttp://localhost:12345/news/index.html\n```\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\nCopyright (c) 2016 [Winds](https://github.com/windiest)❤︎[Wscats](https://github.com/Wscats)\n\n## Back-end(PHP)\n[后端源码地址](https://github.com/Wscats/CI-News-CMS)\n登录界面:\nurl根据服务器域名对应更改(例如本机url就是localhost)\n```\nurl/news/php/index.php/login\nmain = url/news/php/index.php\n```\n\n### 登录接口\n|Port|URL|Method|\n|-|-|-|\n|登录接口|main/login_api/login|POST|\n\n|Params|Other|\n|-|-|\n|username,password|账号:yaojialong,12345678|\n\n### 频道接口\n|Port|URL|Method|\n|-|-|-|\n|频道接口|main/news_api/get_channel|GET|\n\n|Params|Other|\n|-|-|\n|无||\n\n### 自动登录接口\n|Port|URL|Method|\n|-|-|-|\n|自动登录接口|main/login_api/auto_login|POST|\n\n|Params|Other|\n|-|-|\n|username,token||\n\n### 根据频道显示对应新闻\n|Port|URL|Method|\n|-|-|-|\n|根据频道显示对应新闻|main/news_api/show_detail_by_channel_id|GET|\n\n|Params|Other|\n|-|-|\n|page,channel_id|例如:channel_id:4 军事 6 推荐 7 热点 8 娱乐|\n\n### 新闻根据id显示详细内容的接口\n|Port|URL|Method|\n|-|-|-|\n|新闻根据id显示详细内容的接口|main/news_api/show_detail|GET|\n\n|Params|Other|\n|-|-|\n|id||\n\n### 注册用户的接口\n|Port|URL|Method|\n|-|-|-|\n|注册用户的接口|main/login_api/register|POST|\n\n|Params|Other|\n|-|-|\n|params{username,password}||\n\n### 插入新闻的接口\n|Port|URL|Method|\n|-|-|-|\n|插入新闻的接口|main/news_api/insert_news|GET|\n\n|Params|Other|\n|-|-|\n|title,text||\n\n### 删除新闻的接口\n|Port|URL|Method|\n|-|-|-|\n|删除新闻的接口|main/news_api/delete_news|GET|\n\n|Params|Other|\n|-|-|\n|id||\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindiest%2FAngular-news","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwindiest%2FAngular-news","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwindiest%2FAngular-news/lists"}