← All repos

Axium

An example API built with Rust, Axum, SQLx, and PostgreSQL.

apiaxumboilerplatedockerdocker-composehttpsjwtpostgresqlquickstartrustsqlxtemplatetls
Browse cluster: SQL databases and distributed systems
50stars
69commits
2contributors
3languages

Tech stack & purpose

Axium is a high-performance API boilerplate written in Rust, built with the Axum web framework, SQLx for database operations, PostgreSQL, Redis for caching, and S3/MinIO for object storage. The project, created by Riktastic, provides a production-ready template featuring JWT authentication, role-based access control, TLS 1.3 encryption with FIPS 140-3 compliant cryptography, and comprehensive API documentation via OpenAPI 3.1 specifications. It includes features like Argon2id password hashing, structured logging with OpenTelemetry integration, Docker Compose deployment, and a custom routing wrapper designed to simplify RBAC implementation and unify connections to external services.

Languages

Rust
99.1%
Dockerfile
0.8%
HTML
0.1%

Contributors