nocobase/packages/plugins/@nocobase/plugin-sample-ratelimit
2024-01-03 10:00:45 +08:00
..
src feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
.npmignore feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
client.d.ts feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
client.js feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
package.json chore(versions): 😊 publish v0.18.0-alpha.9 2024-01-03 10:00:45 +08:00
README.md feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
server.d.ts feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00
server.js feat: new plugin manager, supports adding plugins through UI (#2430) 2023-09-12 22:39:23 +08:00

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]