Skip to content

Files

Latest commit

author
zhsh lan
Jul 31, 2019
42f9b10 · Jul 31, 2019

History

History
This branch is up to date with lanzhsh/react-vue-koa:master.

react-koa

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 31, 2019
Jul 31, 2019
Jul 31, 2019
Jul 31, 2019

目录介绍

koa-template (后端项目)
react-template (前端项目)

预览图

react-koa-login

react-koa-detail

技术栈

koa-template:
koa + koa-bodyparser + koa-router + mongoose +  nodemon(启动热更新)
react-tempalte:
umi + dva + ant-design-pro + axios

项目启动步骤

1.git clone
2.安装mongodb:http://www.runoob.com/mongodb/mongodb-window-install.html
3.安装 Robomongo是mongodb可视化操作工具 (可选)
4.启动
cd koa-template
npm run start

cd react-template
npm run start

注意事项

mongodb启动默认端口号是27017,启动看是否被占用
后端项目端口号是3000,可以在koa-template/config.js里面修改