https://github.com/kongnet/skybase-template
fast build skybase project
https://github.com/kongnet/skybase-template
Last synced: 6 days ago
JSON representation
fast build skybase project
- Host: GitHub
- URL: https://github.com/kongnet/skybase-template
- Owner: kongnet
- Created: 2019-09-05T16:32:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-06T06:26:22.000Z (8 months ago)
- Last Synced: 2025-05-30T08:10:06.800Z (29 days ago)
- Language: JavaScript
- Size: 1.46 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# skybase-template
fast build skybase project
nodemon //启动基础例子
nodemon index_stat //启动统计例子 含基础例子,需要配置 redis,增删改成扩展,占位符扩展[skybase 最佳实践](https://github.com/kongnet/skybase/blob/master/BestPractice.md)
### 例子说明
- http://127.0.0.1:13000/skyapi/mock/first // 查看 mock 例子
- http://127.0.0.1:13000/skyapi/mock/getEmpty // 最简单的 api 例子
- http://127.0.0.1:13000/skyapi/mock/getHtml // 查看 mock 例子
- http://127.0.0.1:13000/skyapi/mock/getUrl?url=* http://www.baidu.com // 获取 url 代码和内容
- http://127.0.0.1:13000/skyapi/mock/getBing // 获取 bing 最新的背景图
- http://127.0.0.1:13000/skyapi/mock/img?size=100x100 // 返回占位符互补色例子
- http://127.0.0.1:13000/skyapi/probe/mysql // 查看探针例子