Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Devansh-Baghel opened this issue Oct 10, 2024 · 13 comments · Fixed by #2308
Closed

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

Devansh-Baghel opened this issue Oct 10, 2024 · 13 comments · Fixed by #2308
Assignees

Comments

@Devansh-Baghel
Copy link
Contributor

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

Copy link

linear bot commented Oct 10, 2024

@Devansh-Baghel
Copy link
Contributor Author

/assign

Copy link

oss-gg bot commented Oct 10, 2024

Assigned to @Devansh-Baghel! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

@ItsVicky25
Copy link

/assign

Copy link

oss-gg bot commented Oct 10, 2024

This issue is already assigned to another person. Please find more issues here.

@tandrimab
Copy link

/assign

Copy link

oss-gg bot commented Oct 10, 2024

This issue is already assigned to another person. Please find more issues here.

@ritikrai00
Copy link

/assign

Copy link

oss-gg bot commented Oct 10, 2024

This issue is already assigned to another person. Please find more issues here.

@yashthakare93
Copy link

/assign

Copy link

oss-gg bot commented Oct 11, 2024

This issue is already assigned to another person. Please find more issues here.

@chronark
Copy link
Collaborator

/award 750

Copy link

oss-gg bot commented Oct 11, 2024

Awarding Devansh-Baghel: 750 points 🕹️ Well done! Check out your new contribution on oss.gg/Devansh-Baghel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants