nocobase/packages/samples/ratelimit
2022-11-04 21:23:02 +08:00
..
src fix(acl): write roles to acl after app load 2022-10-27 15:27:08 +08:00
client.d.ts
client.js
package.json chore(versions): 😊 publish v0.8.0-alpha.13 2022-11-04 21:23:02 +08:00
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]