Skip to content

Show all features in examples #5221

@wooorm-arcjet

Description

@wooorm-arcjet

Earlier integrations (express, nextjs) used several examples per feature (bots, rate limit, sensitive info, email).
There are now 10 integrations and 6 rules.
Two potential ideas:

  1. showing all features in each integration example
  2. showing 1 or 2 features in each integration example; showing each separate feature in an example (using Node.js? Something “default” enough)

For 1, that would mean:

  • express-bots — merge into new express
  • express-newman — merge into new express
  • express-rate-limit — merge into new express
  • express-sensitive-info — merge into new express
  • express-validate-email — merge into new express
  • nextjs-app-dir-rate-limit — merge into new next
  • nextjs-app-dir-validate-email — merge into new next
  • nextjs-bot-categories — merge into new next
  • nextjs-pages-wrap — merge into new next
  • nextjs-sensitive-info — merge into new next

For 2, that would mean removing those, adding basic express and next examples, and adding:

  • bot
  • email
  • filter
  • rate-limit
  • sensitive-info
  • shield

2 also helps with the examples nextjs-decorate and nextjs-ip-details.
That’s a lot of code to show in each integration example. Makes more sense to me to show that once.

I think my preference is 2 🤔

Related-to: GH-5048.
Related-to: GH-5112.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions