A Serverless Gist Application in WeChat. 微信群里的代码协作小程序
A Serverless Code Highlight Application
. ├── client // browser side code ├── docs // documents ├── server // server side code in Serverless ├── test // some test scrpits └── weapp // wechat app
| URL | HTTP Method | 用途 | |-----------------|--------------|----------------| | / | GET | 返回首页 | | / | POST | 创建代码 | | /features | GET | 返回首页推荐内容 | | /login | GET | 获取 OpenID | | /user/{userId} | GET | 获取对应用户的代码 | | /code/{codeId} | GET | 获取特定代码 | | /code/{codeId} | POST | 更新特定代码 | | /code/{codeId} | DELETE | 删除特定代码 |
command
curl -v -F [email protected] https://code.wdsm.io/upload
© 2018 A Phodal Huang's Idea. This code is distributed under the GPL 3.0 license. See
LICENSEin this directory.