rust

rust-api.dev

A site about API development with Rust

Posted 2024-04-30 09:00:00 by sanyi ‐ 1 min read

Production-ready microservice in Rust: 12. OpenApi and SwaggerUI

Add OpenApi documentation and a SwaggerUI interface to our API

Posted 2024-01-07 13:00:00 by sanyi ‐ 7 min read

Production-ready microservice in Rust: 11. OpenTelemetry

Forwarding tracing data to SigNoz using OpenTelemetry

Posted 2023-11-19 12:40:00 by sanyi ‐ 7 min read

Production-ready microservice in Rust: 10. Improve error handling

Improve error handling, return a JSON response on JSON parse errors

Posted 2023-11-18 09:40:00 by sanyi ‐ 5 min read

Production-ready microservice in Rust: 9. JWT authorization middleware

JWT bearer token validation and a simple error handling method

Posted 2023-11-14 16:32:00 by sanyi ‐ 7 min read

Production-ready microservice in Rust: 8. Authentication and authorization

A simple login endpoint and JWT based authentication, authorization

Posted 2023-09-22 13:32:00 by sanyi ‐ 8 min read

Production-ready microservice in Rust: 7. Basic CRUD operations

Basic CRUD operations with SeaORM

Posted 2023-06-25 13:32:00 by sanyi ‐ 7 min read

Production-ready microservice in Rust: 6. Connecting to a database

Connecting to a PostgreSQL database using sqlx and SeaORM

Posted 2023-06-11 14:50:00 by sanyi ‐ 7 min read

Production-ready microservice in Rust: 5. Application state

Adding shared state to our application

Posted 2023-05-29 14:50:00 by sanyi ‐ 4 min read

Production-ready microservice in Rust: 4. Webserver

Starting an asynchronous webserver based on Axum

Posted 2023-05-21 14:50:00 by sanyi ‐ 6 min read

Production-ready microservice in Rust: 3. Configuration

How to load configuration from files or environment variables

Posted 2023-05-14 10:42:00 by sanyi ‐ 6 min read

Production-ready microservice in Rust: 2. Add CLI sub-commands

A simple pattern to add multiple CLI sub-commands to the application

Posted 2023-05-13 10:00:00 by sanyi ‐ 6 min read

Production-ready microservice in Rust: 1. Setup the workspace

Setup a multi-package workspace for our application

Posted 2023-05-07 14:00:00 by sanyi ‐ 3 min read

Building a production-ready REST microservice in Rust

This will be a series of articles, showing a way to build a production-ready REST microservice in Rust

Posted 2023-05-07 09:00:00 by sanyi ‐ 2 min read

Building a compact microservice with Rust

Short introduction to building a really compact microservice with Rust and Axum, using statically linked musl-libc

Posted 2023-04-13 11:00:00 by sanyi ‐ 6 min read