feathers README

The project's README from github.com/feathersjs/feathers. As one markdown file: README.md.

Feathers - The API and real-time application framework

CI Download Status Discord

Feathers is a full-stack framework for creating web APIs and real-time applications with TypeScript or JavaScript.

Feathers can interact with any backend technology, supports many databases out of the box and works with any frontend like React, VueJS, Angular, React Native, Android or iOS.

Getting started

Get started with just three commands:

$ npm create feathers my-new-app
$ cd my-new-app
$ npm run dev

To learn more about Feathers visit the website at feathersjs.com or jump right into the Feathers guides.

Contributing

To start developing, clone this repository, then run:

cd feathers
npm install

To run all tests run

npm test

Individual tests can be run in the module you are working on:

cd packages/feathers
npm test

License

Copyright (c) 2024 Feathers contributors

Licensed under the MIT license.

feathers (feathersjs/feathers)

Searching Database…

15.3K ·GitHub
这是什么?Feathers 是一个全栈框架,用于使用 TypeScript 或 JavaScript 构建 Web API 和实时应用。它可以搭配任何后端技术,前端则支持 React、Vue、Angular、React Native 等任意框架。
它是框架还是只是一个库?它是一个完整的框架:在类似 Express 的架构之上,提供服务、钩子(hooks)、身份验证和实时事件等功能,而不只是单一用途的工具。
我该怎么让一个新的 Feathers 应用运行起来?只需三条命令即可上手:先用 Feathers CLI 生成一个新应用,然后运行它。
我需要先安装 Node.js 吗?需要。Feathers 要求 Node.js 版本为 20 或更高。
使用它必须要特定的数据库吗?不需要。Feathers 不绑定某一种数据库或后端,开箱即支持多种数据库,并可以与任何后端技术对接。
它支持哪些前端框架?任何前端都可以使用,包括 React、Vue.js、Angular、React Native,以及原生 Android 或 iOS 客户端。
Feathers 的实时支持有什么特别之处?只要数据通过其服务发生变化,Feathers 就会自动通过 WebSocket 推送实时事件(如 created、updated、removed),无需额外的底层搭建工作。
Feathers 的项目是如何组织的?它是一个 monorepo(多包单一代码仓库),使用 Lerna 管理,涵盖核心、传输层、身份验证、数据库适配器和客户端库等包,你可以按需组合使用。
同一套后端代码能同时用于 REST 和 WebSocket 吗?可以。Feathers 的服务与传输方式无关,因此同一份服务逻辑可以同时通过 REST 和实时 WebSocket 连接对外提供。
Creator
feathersjs
Size
44.4 MB
Stars
15.3K
Age
14y
Commits · 90 Days