小记的个人博客项目,项目包括了博客前台和博客后台管理系统。线上地址https://www.liayal.com
- ES6 + 语法,通过 async, await 解决calkback
- 全站 React
- koa2 + mongodb 强力驱动
- 博客前台首屏SSR
- webpack打包后上传cdn
- 反复优化的webpack配置
and so on ...
项目后端使用了koa2,所以需要将系统的 node 升级到 7.0.0 版本,以及确保本地装有mongodb数据库。
- clone 项目到本地
git clone https://github.com/MaelWeb/JI-Blog.git
- 安装依赖
npm install
- 构建 DLL 库(如果公用库没改变不需要重复构建)
npm run build:dll
- 本地开发服务启动
npm run dev:start
- 打包线上版本
npm run build
欢迎扫码体验
The MIT License.
Copyright (c) 2017 「JI · 记小栈」