9 Star 60 Fork 25

SUWH / mall

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

在线预览地址 :http://www.suwh.club:3003

React手机端商城

项目介绍

React开发的手机端商城,使用antd-mobile UI框架

后台模拟用的是koa2,只模拟了取数据,不能修改数据

项目预览

软件架构

软件架构说明

  • 后端
    • nodejs
  • 前端
    • react,react-router,react-redux
  • 数据库
  • 服务器
    • nodejs-koa2
  • 使用技术细分
    • axios,react,react-router-dom,react-redux,redux,koa2,es6,es7[async-await],antd-mobile,underscore,jQuery等

安装教程

  1. 安装了node,并且node的版本>=node v7.6.0 ,或者node支持ES2015及更高版本和 async 方法 ,这里是为了支持koa2的环境
  2. 使用 Babel 实现 Async 方法,要在 node < 7.6 版本的 Koa 中使用 async 方法,需要修改所有属于后端的js文件[不建议]。
    require('babel-register');
    // 应用的其余 require 需要被放到 hook 后面
    const app = require('./app');
  3. 两个目录分别npm install 或者 yarn install [npm全局安装了yarn]
  4. 然后在malladmin文件夹node app.js,在mallmobile文件夹npm start或者yarn start
  5. 打开网页 http://localhost:3000/
  6. 二次开发
    • 在mallmobile文件夹
The MIT License (MIT) Copyright (c) 2018 SUWENHAO Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

React+antd-mobile开发手机端商城 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/suwenhao/mall.git
git@gitee.com:suwenhao/mall.git
suwenhao
mall
mall
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891