mirror of
https://github.com/actix/examples
synced 2024-12-05 03:01:55 +01:00
Actix web examples
.github/workflows | ||
auth | ||
basics | ||
cors | ||
data-factory | ||
databases | ||
docker | ||
forms | ||
graphql | ||
guards | ||
http-proxy | ||
https-tls | ||
json | ||
middleware | ||
protobuf | ||
run-in-thread | ||
server-sent-events | ||
shutdown-server | ||
templating | ||
unix-socket | ||
websockets | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
codecov.yml | ||
LICENSE | ||
README.md | ||
rustfmt.toml | ||
weather.db |
Actix Examples
Curated examples using the Actix ecosystem.
Community Showcase
- Merino: Web service for Firefox Suggest.
- Contile: The back-end server for the Mozilla Tile Service (MTS).
- lemmy: A federated alternative to reddit in Rust.
- MeiliSearch: Fast, Relevant and Typo-Tolerant Search Engine. Open source alternative to Algolia.
- tokei.rs: The tokei.rs server code.
- Monrinth: Rust-based backend to serve the
modrinth
API. - Barricade: Quickly add user registration and logon to any application.
- Bloom: The simplest way to de-Google your life and business: Inbox, Calendar, Files, Contacts & much more.
- GitArena: Software development platform with built-in VCS, issue tracking and code review.
- Four in a Row - Server: An online version of the popular game four in a row, written in Rust on the server side and Flutter + Dart on the client.
- Nitro Repo: An open source artifact manager. Rust back-end and Vue front-end.
- Imitari: A lightweight ShareX-compatible image uploader server
- mCaptcha: Proof of work based, privacy focused, libre CAPTCHA system. Crates used:
actix-web
,sqlx
,redis
, andlettre
. - Zero2prod: Source code of zero to production series zero2prod.com. Paid book but some of the chapters is available online for free. The book compares and explains the chosen technologies, like Actix Web and SQLx.
- Triox: A free file hosting server that focuses on speed, reliability and security.
- binserve: A fast, secure, and easy to set up static web server written on top of Actix Web with routing, templating, and various other features.
- Roseline: A personal web site and discord & IRC bot to access simple SQLite database. Demonstrates usage of various Actix and Actix Web concepts.
- Dalted: Simple webapp that showcases the integration of image-rs with Actix Web for color blindness simulations.
- Atomic-Server: Graph database with a dynamic schema, authorization and full text search.
- Operator: A web server for static and dynamic content.
- RCOS Telescope: The RCOS website and Discord bot.
- WebThings Registration Server: Exposes an HTTP API that lets you register a WebThings Gateway for tunneling support
- pict-rs: An image host API service
- rustypaste: A minimal file upload/pastebin service
- rustus: A TUS protocol implementation that helps you handle file uploads
Community Articles, Example Apps, Starters & Boilerplate Projects
- create-rust-app: Set up a modern Rust + React web app by running one command.
- Jelly Starter: A starter template for Actix Web projects that feels very Django-esque. Avoid the boring stuff and move faster.
- Actix and SQLx User CRUD for MySQL: A User CRUD showcasing MySQL database interaction with full integration test coverage, designed to fit comfortably in a system of micro-services.
- Rust, Actix Web & Heroku: A Heroku buildpack example for Actix Web.
- webapp.rs: A web application completely written in Rust.
- RealWorld Example App: Implementation of the RealWorld backend API spec in Actix.
- Canduma: Rust authentication server boilerplate
- Rust, Docker & GraphQL: An example of using Dataloaders, context, and a minimal docker container.
- Complete Actix 2.x REST Server: Actix 2.x HTTP Server featuring multi-database support, auth/JWTs, caching, static files, app state, tests, coverage, and docker.
- Actix Server Authentication with JWT and MongoDB: An implementation of JWT in Actix.
- Production-Grade Logging in Rust Applications: An article showcasing the use of tracing in an Actix application
- Fullstack-Rust: A Full Stack Rust application (Connect5 game) with Actix Web, Yew, Bulma CSS and Diesel.
- Mozilla Services Skeleton App
Paid Resources
- [book] Zero2prod by Luca Palmieri: Takes you on a journey to discover the world of backend development in Rust.
Contribute
Pull requests welcome for small, focussed example projects demonstrating patterns or techniques.
Submissions also accepted to have your app or repo considered for the showcase lists.