Axium - An example API built with Rust, Axum and SQLx
(github.com)
from BitsandBytes@lemmy.world to rust@lemmy.ml on 25 Feb 2025 05:32
https://lemmy.world/post/26024570
from BitsandBytes@lemmy.world to rust@lemmy.ml on 25 Feb 2025 05:32
https://lemmy.world/post/26024570
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 :)
threaded - newest