https://github.com/alexayan/minason-client
https://github.com/alexayan/minason-client
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/alexayan/minason-client
- Owner: alexayan
- Created: 2019-04-25T11:28:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T23:42:59.000Z (over 3 years ago)
- Last Synced: 2023-02-26T13:26:20.063Z (over 3 years ago)
- Language: JavaScript
- Size: 1.33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> Minason client
## Intro
Minason 基于微信小程序微信小程序提供的 [局域网通信](https://developers.weixin.qq.com/miniprogram/dev/api/wx.startLocalServiceDiscovery.html) 能力,用于构建线下场景的小程序微服务。
开发者可以基于 [Minason server](https://github.com/alexayan/minason-server) 编写服务器端代码,在服务器端生成自定义的小程序 UI,调用小程序的 Api,搭配 minason-client 小程序客户端,自由的创建和发布小程序服务。
用户在 minason-client 小程序客户端中,可以使用当前局域网内部可发现的小程序微服务。
Minason client 当前是一个快速开发完成的玩具项目,只是验证了可行性,不能用于生产环境。
Have Fun :)
## Usage
``` bash
# 安装 npm 依赖
npm i
# 小程序开发模式
npm run dev
# 小程序构建
npm run build
```
使用微信小程序开发工具,选择 `dist` 目录进行预览
## Demo
[匿名聊天](https://github.com/alexayan/minason-server/tree/master/example)

## Reference
[Minason server](https://github.com/alexayan/minason-server)
## License
MIT © [alexayan](https://github.com/alexayan)