https://github.com/caomeiyouren/hono-template
基于 Hono 和 TypeScript 的云函数模板,支持 Vercel/Docker/Node.js 等多种部署方式
https://github.com/caomeiyouren/hono-template
Last synced: 8 months ago
JSON representation
基于 Hono 和 TypeScript 的云函数模板,支持 Vercel/Docker/Node.js 等多种部署方式
- Host: GitHub
- URL: https://github.com/caomeiyouren/hono-template
- Owner: CaoMeiYouRen
- License: mit
- Created: 2024-09-22T16:06:04.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-23T20:34:58.000Z (12 months ago)
- Last Synced: 2024-10-24T08:17:07.971Z (12 months ago)
- Language: TypeScript
- Homepage: https://hono-template-rho.vercel.app
- Size: 1.13 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
hono-template
> 基于 Hono 和 TypeScript 的云函数模板,支持 Vercel/Cloudflare Workers/Docker/Node.js 等多种部署方式
## 🏠 主页
[https://github.com/CaoMeiYouRen/hono-template#readme](https://github.com/CaoMeiYouRen/hono-template#readme)
## 📦 依赖要求
- node >=20
## 🚀 部署
### Cloudflare Workers 部署
点击下方按钮一键部署到 Cloudflare Workers
[](https://deploy.workers.cloudflare.com/?url=https://github.com/CaoMeiYouRen/hono-template)
### Vercel 部署
> 如果遇到了请求在本地正常,但线上超时的问题,请在 Vercel 控制台中将环境变量 `NODEJS_HELPERS` 设置为 `0` ,并重新部署。
点击下方按钮一键部署到 Vercel。
[](https://vercel.com/new/clone?repository-url=https://github.com/CaoMeiYouRen/hono-template.git)
## 👨💻 使用
```sh
npm run start
```## 🛠️ 开发
```sh
npm run dev
```## 🔧 编译
```sh
npm run build
```## 🔍 Lint
```sh
npm run lint
```## 💾 Commit
```sh
npm run commit
```## 👤 作者
**CaoMeiYouRen**
* Website: [https://blog.cmyr.ltd/](https://blog.cmyr.ltd/)
* GitHub: [@CaoMeiYouRen](https://github.com/CaoMeiYouRen)
## 🤝 贡献
欢迎 贡献、提问或提出新功能!
如有问题请查看 [issues page](https://github.com/CaoMeiYouRen/hono-template/issues).
贡献或提出新功能可以查看[contributing guide](https://github.com/CaoMeiYouRen/hono-template/blob/master/CONTRIBUTING.md).## 💰 支持
如果觉得这个项目有用的话请给一颗⭐️,非常感谢
## 📝 License
Copyright © 2024 [CaoMeiYouRen](https://github.com/CaoMeiYouRen).
This project is [MIT](https://github.com/CaoMeiYouRen/hono-template/blob/master/LICENSE) licensed.***
_This README was generated with ❤️ by [cmyr-template-cli](https://github.com/CaoMeiYouRen/cmyr-template-cli)_