3 Star 5 Fork 0

Ambre / keepblog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

KEEPBLOG

示例地址:点我

真正的JavaScript项目,不需其他语言,博客文章保存在redis中

同构项目,一份源码,即可完成项目编写

该项目中,你将学到React最新版本的全家桶

适配移动端

基于:

  React@16.2

  Dva@2.*

  React-Router@4.2,

  Node

  .......

#项目初始化流程

cnpm i

修改config.js文件 输入图片说明

如果redis在本地,则不需要配置redisConfig

Config.address需要配置和node启动同样的地址,如果发布到服务器上,则配置最后的域名地址

然后

npm run dev

启动后:输入网址:http://localhost:7070/add,

填写你的第一篇文章

输入图片说明

然后回到首页:

输入图片说明

OK,成功!!!

:cry: 需要服务端渲染的页面,请使用Jump组件跳转(参考Index)

#开发计划

:white_check_mark: 文章展示

:white_check_mark: 添加文章

:white_large_square: 增加文章分类

:white_large_square: 增加文章标签

:white_large_square: 增加文章评论

:white_large_square: 增加文章添加后台,并可以删除文章

:white_large_square: 增加页面上的动画效果

more...............

The MIT License (MIT) Copyright (c) 2018 Ambre Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

React全家桶项目,同构项目,基于React@16.2,Dva@2.*,React-Router@4.2,Nodejs的博客示例项目 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/dissucc/keepblog.git
git@gitee.com:dissucc/keepblog.git
dissucc
keepblog
keepblog
master

搜索帮助