Skip to content

MaelWeb/JI-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

「JI · 记小栈」

小记的个人博客项目,项目包括了博客前台和博客后台管理系统。线上地址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

「JI · 记小栈」小程序已上线

欢迎扫码体验

「JI · 记小栈」小程序 项目

License

The MIT License.

Copyright (c) 2017 「JI · 记小栈」