# earlyjoy **Repository Path**: webfrontup/earlyjoy ## Basic Information - **Project Name**: earlyjoy - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-04 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # earlyjoy 😳The course for react stack. earlyjoy,enjoy it! # 概述 这个项目后端使用koa2,前端使用了react。 前端技术栈为 - 基础列库:react - 路由:react-router4 - 数据管理:react-redux + redux-thunk中间件 + redux-devtool - 路由信息同步:react-router-redux - 样式:weui + less + postcss # 运行方式 ## 安装nodejs7.6+ Mac:安装nvm,使用nvm安装响应版本Nodejs Windows:Node.js官方安装最新版本 使用npm安装依赖: npm install ## 开发环境运行方式 Node.js端: npm run dev-node // 如果报错了 很可能是Node.js版本不够高 Borwser端: npm run dev-web // 会自动打开浏览器 ## 部署环境运行方式 编译代码: npm run build Node.js服务器: npm run start # 文档快链 - react-router https://reacttraining.cn/ - redux http://www.redux.org.cn/