Skip to content

[oss.gg hackathon] Template for Rust Actix Web  #2292

@djnovin

Description

@djnovin

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

In this pull request, I've integrated Unkey to provide route protection and rate limiting for the backend Actix-Web application. The key features implemented are:

  • API Key Verification: Added middleware to verify API keys using Unkey. Only requests with valid API keys in the Authorization header (Bearer token) are allowed to access protected routes.
  • Rate Limiting: Implemented rate limiting using Unkey's rate-limiter API. Each request is checked against the defined rate limit.

Provide proof that you've completed the task

Screenshot 2024-10-10 at 1 49 01 pm

Metadata

Metadata

Assignees

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