this post was submitted on 25 Feb 2025
14 points (93.8% liked)

Rust Programming

8414 readers
69 users here now

founded 5 years ago
MODERATORS
 

Hi there! Just wanted to share a project I worked on over the past 6 weeks. It is a boilerplate/template for a fairly secure API.

It now features:

  • An example API,
  • JWT auth (using APIkeys and username + password (+ 2 factor))
  • Key rotation,
  • Built-in HTTPS/HTTP2,
  • Multiple keys per account,
  • Usage tiers,
  • Role based access,
  • Healthcheck endpoint for monitoring and docker,
  • OpenAPI documentation generation,
  • And a lot more...

This was my first Rust project. I am always in for feedback :)

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here