bookreader
项目主要目的为了深入学习react,使用redux搭建整个项目。
反向代理配置:通过WebpackDevServer中间件的proxy属性进行反向代理,具体请看server.js文件。
注:此项目纯属个人学习,不用于任何商业用途。
技术栈
react + redux + react-router + antd + webpack
项目运行
git clone https://github.com/jianhui1012/bookreader.git
cd bookreader
npm install
npm run dev
访问: http://localhost:8088
目标功能
- [x] 排行榜 -- 完成
- [x] 书籍详情 -- 完成
- [x] 阅读书籍 -- 完成
- [x] 书单推荐 -- 完成
- [x] 搜索书籍 -- 完成
- [x] 精选书籍 -- 完成
- [x] 分类书籍 -- 完成
- [x] 主题书单 -- 完成
- [x] 书单详情 -- 完成
- [x] 主 页 -- 完成
API接口文档
部分截图
首页
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/home.png" />
精选
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/selection.png" />
分类
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/category.png" />
书单
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/booklist.png" />
排行榜
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/rank.png" />
书籍详情
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/book.png" />
阅读书籍
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/read.png" />
搜索
<img src="https://github.com/jianhui1012/bookreader/blob/master/screenshots/search.png" />