Skip to content

[oss.gg hackathon] Oak sever template with Unkey rate limiting #2306

@Devansh-Baghel

Description

@Devansh-Baghel

What side quest or challenge are you solving?

Create a template of using some framework or language to build an API and protect it with Unkey.

Points

750

Description

Created a public template of an oak server built with deno (verison 2.0) and protected /secret route using Unkey ratelimiting

  • Implemented a public route / that doesn't have any rate limiting.
  • Implemented another route /secret that returns ok normally and Please try again later with http response status code of 429 Too Many Requests when ratelimited.
  • I have set the rate limit to 2 requests in 30 seconds, to demonstrate the functionality.

Repository for the same

Provide proof that you've completed the task

2024-10-10_22-18
2024-10-10_22-18_1
Screenshot from 2024-10-10 22-18-36
Screenshot from 2024-10-10 22-18-46

Metadata

Metadata

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