/actix-real-world

Implementation of the Real-World app Conduit (Medium clone)

Primary LanguageRustMIT LicenseMIT

Actix Real World (🚧 work in progress 🚧)

The mother of all demo apps

OpenAPI Docs MIT

This (will) complies with the real world specification

This application will be built using the OpenAPI in openapi.yaml

Tooling

HTTP:

Log:

  • tracing: Scoped, structural logging and diagnostics system
  • tracing-actix-web: Telemetry middleware for actix-web applications
  • secrecy: Wrapper to handle secret values
  • sqlx: Async SQL toolkit

Security:

  • rustsec.org: Vulnerability database for the Rust ecosystem

Tests:

Secondary Goals

The goal of this project is just to get familiar with the Actix web framework. I'll probably be writing about those topics.

  • Docs
  • Testing
  • Error Handling
  • Group requests
  • Data handling (json and form)
  • Middleware (integrated and custom)
  • Authentication (user/pass, OAuth2, session management)
  • Protocols HTTP, HTTP2, HTTPS, RPC, Server Sent Events (SSE) and WebSocket
  • DB integration with sqlx and diesel
  • Templating (probably with htmx)
  • CORS
  • Rate limitation
  • Logging
  • Tracing
  • Security
  • Multithreading

Known Issues