GithubHelp home page GithubHelp logo

csy817 / taro-shop-graphql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ioobot/taro-shop-graphql

0.0 0.0 0.0 1.98 MB

电商taro h5 小程序 graphql mock server

JavaScript 85.03% CSS 14.58% HTML 0.38%

taro-shop-graphql's Introduction

taro-shop-graphql

基于e-Commerce 电商react版用taro修改支持小程序,管理页面暂未修改

使用mock-fc动态更新graphql server, 只需修改所需更新的数据,随时更新graphql server

技术栈

React + Taro + Dva + GraphQL + Sass + ES6/ES7 + mock

部分截图展示

扫码体验

首页 && 商品详情

      

购物车

   

下单 && 支付

   

订单 && 详情

   

地址

   

我的 && 店铺管理

   

商品管理

   

项目运行

git clone [email protected]:IooBot/taro-shop-graphql.git

cd taro-shop-graphql\client

# 使用 npm 或者 yarn 全局安装taro脚手架
npm install -g @tarojs/[email protected]
yarn global add @tarojs/[email protected]

# 项目依赖为1.2.26版本,如要升级,请同时升级项目依赖
# 如用1.2.26版本,请忽略这句
taro update project

# 安装项目依赖
npm install
yarn

# 微信小程序
npm run dev:weapp
yarn run dev:weapp

# H5
npm run dev:h5
yarn run dev:h5

项目说明

Dva: dva分支 开启了小程序云开发,可以关闭

开发文档

Taro开发文档

https://nervjs.github.io/taro/docs/README.html

dva开发文档地址

https://dvajs.com/

微信小程序官方文档

https://mp.weixin.qq.com/debug/wxadoc/dev/

GraphQL 入门

https://graphql.cn/learn/

Serverless 介绍

腾讯云无服务器云函数 SCF

https://cloud.tencent.com/product/scf/

阿里云函数计算

https://www.aliyun.com/product/fc?spm=5176.8142029.388261.163.41626d3e60rRSX

联系我们

如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢! ^_^

我们会不断提供可参考的案例,敬请期待

如有您有问题或想法可以联系我们,或在 Issues 中提出

   

License

MIT

taro-shop-graphql's People

Contributors

csy817 avatar ioobot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.