Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lhkzh/pf
fibjs api dev
https://github.com/lhkzh/pf
api fibjs framework
Last synced: 6 days ago
JSON representation
fibjs api dev
- Host: GitHub
- URL: https://github.com/lhkzh/pf
- Owner: lhkzh
- License: mit
- Created: 2021-08-03T06:19:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-06-25T03:16:52.000Z (over 1 year ago)
- Last Synced: 2024-11-29T18:17:02.988Z (23 days ago)
- Topics: api, fibjs, framework
- Language: TypeScript
- Homepage:
- Size: 337 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**专注fibjs接口开发的框架**
-
**特性**
- typescript编写
- 注解配置路由、参数规则、输出格式、权限判断
- 自动生成简单的在线接口文档(需要按照规则写注释
- fibjs纤程的js接口编写体验(无callback、无promise)
- 支持热更新
- 不建议使用cookie和session这种授权体系**模版创建用例**
-
npm init pf_api normal MyApiProject
cd MyApiProject
npm start**更多可配套组件**
-
- [fibjs_redis 相对全面的redis组件](https://www.npmjs.com/package/fibjs_redis)
- [fibjs-fastcgi-client 如果你需要调用php-fpm](https://www.npmjs.com/package/fibjs-fastcgi-client)
- [fibjs-nats 如果你需要调用nats](https://www.npmjs.com/package/fibjs-nats)
- [fibjs-memcache 如果你需要调用memcache](https://www.npmjs.com/package/fibjs-memcache)
- [fibjs-mail 方便你组装有邮件发送](https://www.npmjs.com/package/fibjs-mail)
- [fibjs-multipart 方便你组装form表单](https://www.npmjs.com/package/fibjs-multipart)
- [pf_mini 方便-小程序小游戏-接口开发](https://www.npmjs.com/package/pf_mini)
- [更多宝库-fibjs官网](https://fibjs.org/docs/awesome/readme.md.html)