mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
Actix web examples
e903184a12
Co-authored-by: Rob Ede <robjtede@icloud.com> |
||
---|---|---|
.github/workflows | ||
basics | ||
database_interactions | ||
forms | ||
graphql | ||
json | ||
other | ||
security | ||
session | ||
template_engines | ||
websockets | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
codecov.yml | ||
LICENSE | ||
README.md | ||
rustfmt.toml |
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.
- 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
- roapi: Create full-fledged APIs for static datasets without writing a single line of code.
- 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.
Community Articles, Example Apps, Starters & Boilerplate Projects
- 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.