An open API service indexing awesome lists of open source software.

https://github.com/alexayan/minason-server

服务器端写小程序
https://github.com/alexayan/minason-server

Last synced: over 1 year ago
JSON representation

服务器端写小程序

Awesome Lists containing this project

README

          

> Minason server

## Intro

Minason 基于微信小程序微信小程序提供的 [局域网通信](https://developers.weixin.qq.com/miniprogram/dev/api/wx.startLocalServiceDiscovery.html) 能力,用于构建线下场景的小程序微服务。

开发者可以编写服务器端代码,在服务器端生成自定义的小程序 UI,调用小程序的 Api,搭配 [Minason client](https://github.com/alexayan/minason-client) 小程序客户端,自由的创建和发布小程序服务。

用户可以使用 [Minason client](https://github.com/alexayan/minason-client) 小程序客户端,使用当前局域网内部可发现的小程序微服务。

Minason server 当前是一个快速开发完成的玩具项目,只是验证了可行性,不能用于生产环境。

项目中的 [example](https://github.com/alexayan/minason-server/tree/master/example) 目录中有一个简单的匿名聊天小程序微服务实现

Have Fun :)

## Demo

[匿名聊天](https://github.com/alexayan/minason-server/tree/master/example)

运行 Demo: `node example/index.js`

![demo](demo.gif)

## Reference

[Minason client](https://github.com/alexayan/minason-client)

## License

MIT © [alexayan](https://github.com/alexayan)