Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 551 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 551 Bytes

blog

blog在线预览地址:http://139.224.74.133

前端: react+redux+react-router

后端: node+express+mongoDB提供的API

前后端完全分离

开始

1.安装 nodejs(>=4) 2.启动mongodb

运行

git clone https://github.com/hechuanhua/blog.git
npm install
npm install webpack -g

开发环境===>
npm run node
npm run dev
(上面2个命令开2个窗口同时运行)
浏览器输入 localhost:7070

生产环境===>
npm run node
npm run dist
浏览器输入 localhost:8080