nocobase/packages/samples/ratelimit
chenos 794080628b
feat: ratelimit sample plugin (#862)
* feat: ratelimit sample

* feat: update doc

* feat: sample url

* fix: update yarn.lock
2022-09-30 12:40:32 +08:00
..
src
client.d.ts
client.js
package.json
README.md
server.d.ts
server.js

Rate limiter middleware sample

Register

yarn pm add sample-ratelimit

Activate

yarn pm enable sample-ratelimit

Launch the app

# for development
yarn dev

# for production
yarn build
yarn start

Demo

[gif]