# TNW **Repository Path**: gavinmiao/TNW ## Basic Information - **Project Name**: TNW - **Description**: TNW: TypeScript(The) + Node.js(Next) + WeChat 微信公众号开发脚手架,支持任何 Node.js 的 MVC 服务端框架 - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 214 - **Created**: 2019-04-10 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

TNW Logo

Package License NPM Version NPM Downloads Donate

## 简介 **TNW: TypeScript(The) + Node.js(Next) + WeChat 微信公众号开发脚手架,支持 http 模块扩展、支持任何 Node.js 的 MVC 服务端框架** 本项目是我研究 TypeScript + Node.js 的阶段性总结,因为我对 [微信支付](https://gitee.com/javen205/IJPay)、[公众号](https://mp.weixin.qq.com/wiki)、[小程序/小游戏](https://developers.weixin.qq.com/miniprogram/dev/index.html) 有一定的研究,之前也参与过 [jfinal-weixin](https://gitee.com/jfinal/jfinal-weixin) 的开发,所以以微信系为载体再好不过了,后面也会扩展对支付、小程序甚至小游戏相关接口的支持,感谢您的关注:) ## 安装与运行 ### NPM 依赖方式 1、下载 ```bash $ npm init -y $ npm i tnw ``` 2、完整示例 - [Gitee 请点击这里](https://gitee.com/Javen205/TNW/tree/master/example/js) - [Github 请点击这里](https://github.com/Javen205/TNW/tree/master/example/js) ### 源码方式 1、下载项目并安装依赖 ```bash $ git clone https://github.com/Javen205/TNW.git 或者 $ git clone https://gitee.com/Javen205/TNW.git $ cd TNW $ npm install ``` 2、编译并运行 ```bash $ npm run build $ npm run dev ``` 3、完整示例 - [Gitee 请点击这里](https://gitee.com/Javen205/TNW/tree/master/src/example) - [GitHub 请点击这里](https://github.com/Javen205/TNW/tree/master/src/example) ### Nest 示例 - [Gitee 请点击这里](https://gitee.com/Javen205/TNW/tree/master/example/nest) - [GitHub 请点击这里](https://github.com/Javen205/TNW/tree/master/example/nest) ## 开发进度 [点击这里](https://github.com/Javen205/TNW/wiki/%E5%BC%80%E5%8F%91%E8%BF%9B%E5%BA%A6) ## 交流群 群号:[ 114196246](https:shang.qq.com/wpa/qunwpa?idkey=a1e4fd8c71008961bd4fc8eeea224e726afd5e5eae7bf1d96d3c77897388bf24) ## 开源推荐 - `IJPay` 让支付触手可及:https://gitee.com/javen205/IJPay - SpringBoot 微服务高效开发 `mica` 工具集:https://gitee.com/596392912/mica - `Avue` 一款基于 vue 可配置化的神奇框架:https://gitee.com/smallweigit/avue - `pig` 宇宙最强微服务(架构师必备):https://gitee.com/log4j/pig - `SpringBlade` 完整的线上解决方案(企业开发必备):https://gitee.com/smallc/SpringBlade ## 参考资料 - [Node.js & Express 教程](http://www.runoob.com/nodejs/nodejs-tutorial.html) - [Java 版 jfinal-weixin](https://gitee.com/jfinal/jfinal-weixin) - [JavaScript + Node.js 版](https://github.com/SilenceHVK/wechatByNode) - [wechat-dev-with-nodejs](https://github.com/i5ting/wechat-dev-with-nodejs/blob/master/stuq.md)