All Projects → Hancoson → react-redux-demo

Hancoson / react-redux-demo

Licence: MIT license
🛠️React, Redux, and React-Router to achieve a Zhihu Daily App.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-redux-demo

EnjoyLife
😉【乐享】每天一张精选妹纸图、一个精选短视频,知乎美文的精美应用
Stars: ✭ 20 (-66.67%)
Mutual labels:  zhihu-daily
mpvue-wechat-zhihu
一个入门级别的资讯类微信小程序
Stars: ✭ 25 (-58.33%)
Mutual labels:  zhihu-daily
XiaoxiaZhihuWeex
XiaoxiaZhihu(zhihu daily) client written by Weex.
Stars: ✭ 15 (-75%)
Mutual labels:  zhihu-daily
Zhihu Daily
📰 A Zhihu_Daily Web demo made by Vue.js
Stars: ✭ 69 (+15%)
Mutual labels:  zhihu-daily
KotlinEnjoyLife
😉【乐享】Kotlin 版本 每天一张精选妹纸图、一个精选短视频,知乎美文的精美应用
Stars: ✭ 73 (+21.67%)
Mutual labels:  zhihu-daily

React-redux Zhihu Daily

GitHub package version GitHub license Travis

一个React+Redux版知乎日报 所有API均来自网络(若涉及侵权,请及时联系我删除)

你觉得好就给个 Star 或者 Watch 吧,不要 Fork.

DEOM

Mobx 版本

技术实现

  • React
  • Redux
  • React-router
  • fetch
  • ES6
  • webpack
  • antd
  • babel
  • react-hot-loader
  • jest

运行

  • 安装 npm install(yarn)
  • 启动 npm start
  • 构建 npm run build

目录结构

├─app
│  ├─actions //redux动作生成器
│  ├─assets  //静态资源
│  │  ├─img
│  │  └─scss
│  ├─compontens //UI组建
│  ├─constants  //常量
│  ├─containers //包装器
│  ├─reducers //reducers
│  ├─routes //路由
│  ├─store //store
│  └─utils //工具函数
└─dist //发布目录
    ├─js
    └─style

API说明

本应用调用了开源的「知乎日报 API」,具体可参考官方文档,传送门>>

数据获取

  • 采用Yahoo跨域访问代理
YAHOO:'https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20json%20where%20url=%22',
YAHOO_SUFFIX:'%22&format=json'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].