KO
|
EN
gitlite — search
Search
#typescript
#ai-agents
#ai
#dsh-plugin
#deepseek-harness
#open-source
#claude-code
#codex
#cli
#developer-tools
#react
#windows
youdidao-unmanned-shop
★ 88
Open GitHub ↗
youdidao-unmanned-shop
Download README (.md)
Explore Similar Repositories
datafusion-java
:
Java binding to Apache DataFusion
Convenience
:
.NET Core 5/Angular11/NG-ZORRO 权限管理系统 工作流系统
Titan
:
Titan, Game Engine in .NET 8 C# 11 and DirectX 12
AutoInterface
:
C# interface-to-member source generator
commitlint
:
commitlint checks if your commit messages meets the conventional commit format
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
youdidao-unmanned-shop
?
Download (.md)
# Eggjs+Tarojs+AntDesign+React+Graphql+Typescript全栈无人商城开源版 ## 一、项目介绍 youdidao全栈无人商城:youdidao 项目是一套无人电商售货系统,包含前台商城系统(小程序,快应用,h5,APP)、后台管理系统以及服务端。技术栈:Eggjs+Tarojs+AntDesign+React+Graphql+Typescript,我们做全网首个无人超市开源。 ### 演示图: - **小程序:**<img src="./readme-images/client.png" height="33%" width="33%" /> - **商城管理系统:**<img src="./readme-images/admin.jpg"/> ### 安装部署: - **开发环境安装** 1. 手动下载zip代码或者使用命令下载git clone 2. 进入代码根目录: - admin 后台管理系统代码 - client 前台商城系统代码 - server 服务端代码 3. 配置config文件: - 后台管理系统配置: admin/config/config.js中配置'umi-plugin-apollo'的uri默认为 http://127.0.0.1:7001/graphql对应服务端的接口 - 前台商城系统配置: client/src/utils/client.ts中配置new ApolloClient中的uri默认为 http://127.0.0.1:7001/graphql对应服务端的接口 - 服务端的配置 server/config/config.default.ts中配置对应的redis,mysql,以及第三方的接口配置。 4. 启动程序 - 首先启动后台也就是服务端 ```shell # 安装依赖包 npm i npm run dev open http://localhost:7001/ ``` - 启动后台管理系统 ```shell npm i npm run tsc npm run start ``` - 启动前台商城系统 ```shell 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目录进行 ```shell npm i npm run start ``` Eggjs框架内置了 [egg-cluster](https://github.com/eggjs/egg-cluster) 来启动 [Master 进程](https://eggjs.org/zh-cn/core/cluster-and-ipc.html#master),Master 有足够的稳定性,不再需要使用 [pm2](https://github.com/Unitech/pm2) 等进程守护模块。 2. 前台商城系统 ```shell 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. 后台管理系统 ```shell npm i npm run build ``` 打包后的文件在admin/dist目录下,倒出后进行服务器代码上传。 ## 二、对有地道感兴趣或者其他你想实现的想法?请联系我们 交流群:<img src="./readme-images/qq.jpg" height="33%" width="33%" /> 联系QQ: 59187993 反馈邮箱: [layzhou@foxmail.com](mailto:layzhou@foxmail.com?subject=有地道反馈) ## 三、协议规定 未获取商业授权之前,不得将本软件用于商业用途(包括但不限于二次开发销售,以营利为目的的商业用途等)。