Code Monkey home page Code Monkey logo

youdidao-unmanned-shop's Introduction

Eggjs+Tarojs+AntDesign+React+Graphql+Typescript全栈无人商城开源版

一、项目介绍

youdidao全栈无人商城:youdidao 项目是一套无人电商售货系统,包含前台商城系统(小程序,快应用,h5,APP)、后台管理系统以及服务端。技术栈:Eggjs+Tarojs+AntDesign+React+Graphql+Typescript,我们做全网首个无人超市开源。

演示图:

  • 小程序:

  • 商城管理系统:

安装部署:

  • 开发环境安装
  1. 手动下载zip代码或者使用命令下载git clone

  2. 进入代码根目录:

    • admin 后台管理系统代码
    • client 前台商城系统代码
    • server 服务端代码
  3. 配置config文件:

  4. 启动程序

    • 首先启动后台也就是服务端

      # 安装依赖包
      npm i
      npm run dev
      open http://localhost:7001/
    • 启动后台管理系统

      npm i
      npm run tsc
      npm run start
    • 启动前台商城系统

      npm i
      # 微信小程序
      npm run dev:weapp
      # 百度小程序
      npm run dev:swan
      # 支付宝小程序
      npm run dev:alipay
      # h5网页
      npm run dev:h5
      # react-native
      npm run dev:rn
  • 线上环境安装

在本地安全平稳运行后,如果您想在您的生产环境上面部署,你可能需要搭建线上的安全生产环境。

  1. 服务端

    到server目录下打开控制台或者cd到server目录进行

    npm i
    npm run start

    Eggjs框架内置了 egg-cluster 来启动 Master 进程,Master 有足够的稳定性,不再需要使用 pm2 等进程守护模块。

  2. 前台商城系统

    npm i
    # 微信小程序
    npm run build:weapp
    # 百度小程序
    npm run build:swan
    # 支付宝小程序
    npm run build:alipay
    # h5网页
    npm run build:h5
    # react-native
    npm run build:rn

    按照您的需求可以进行按需打包,得到的代码在client/dist目录下,按需上传服务器。

  3. 后台管理系统

    npm i
    npm run build

    打包后的文件在admin/dist目录下,倒出后进行服务器代码上传。

二、对有地道感兴趣或者其他你想实现的想法?请联系我们

交流群:

联系QQ: 59187993

反馈邮箱: [email protected]

三、协议规定

未获取商业授权之前,不得将本软件用于商业用途(包括但不限于二次开发销售,以营利为目的的商业用途等)。

youdidao-unmanned-shop's People

Contributors

lay-zhou avatar

Watchers

James Cloos 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.