SuperJolly / Wxapp Tutorial Api
Stars: ✭ 60
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Wxapp Tutorial Api
Python Weixin
微信(weixin|wechat) Python SDK 支持开放平台和公众平台 支持微信小程序云开发
Stars: ✭ 746 (+1143.33%)
Mutual labels: wxapp
Taro scaffold
基于 Taro / dva / redux-saga / react 的微信小程序脚手架,同时集成了 sprite 。
Stars: ✭ 24 (-60%)
Mutual labels: wxapp
Taro
开放式跨端跨框架解决方案,支持使用 React/Vue/Nerv 等框架来开发微信/京东/百度/支付宝/字节跳动/ QQ 小程序/H5/React Native 等应用。 https://taro.zone/
Stars: ✭ 30,230 (+50283.33%)
Mutual labels: wxapp
Wx Extend
🐶 微信小程序 - 扩展插件(发送请求、Promise API、表单验证、Restful API)
Stars: ✭ 925 (+1441.67%)
Mutual labels: wxapp
Weixin Java Miniapp Demo
基于Spring Boot 和 WxJava 实现的微信小程序Java后端Demo
Stars: ✭ 779 (+1198.33%)
Mutual labels: wxapp
Alaweb
一套 Vue 代码,多端可用(H5、小程序、苹果App、安卓App、头条等)。系统含150+页面,200+组件(5端通用),30+元件(每个终端独立完成)
Stars: ✭ 837 (+1295%)
Mutual labels: wxapp
简介 & 目录
该项目为《9小时搞定微信小程序开发》课程的API章节示例源码,便于大家学习参考。
-
client-api : API章节小程序项目根目录,存放了API章节的代码
-
server-api : API章节中网络类API的服务端代码(基于nodejs实现)
如何部署启动
-
将
client-api
目录下的project.config.json
文件中appid替换为自己所申请的小程序appid -
在微信开发者工具上新建项目,将
client-api
目录作为小程序项目根目录,并填入appid及项目名称。
模块
目录名 | API模块 |
---|---|
Device | 设备 |
File | 文件 |
Interface | 界面 |
Location | 位置 |
Media | 媒体 |
Network | 网络 |
Storage | 本地缓存 |
网络类Server部署(以nginx为例)
确保已安装nodejs
- request / upload 服务部署(默认为
3003端口
)
$ cd server-api/request_server
$ npm start
- websocket 服务部署(默认为
3306端口
)
$ cd server-api/websocket_server
$ node index.js
如何使用Whislte抓包
安装whistle: $ npm install -g whistle
启动whistle: $ whistle start
或 $ w2 start
指定whistle启动端口: $ whistle start -p [port]
-
修改开发者工具 菜单栏 -> 设置 -> 代理设置
-
切换为“手动设置代理”,填入 ip:
127.0.0.1
, 端口:[启动whistle时的端口]
-
若开发者工具弹出“当前系统代理不是安全代理,是否信任”,点击“确定”
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].