mirror of
https://github.com/actix/examples
synced 2024-12-05 03:01:55 +01:00
7.3 KiB
7.3 KiB
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.
- Martin: Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server.
- hyperswitch: An Open Source Financial Switch to make payment open, fast, secure and reliable.
- tokei.rs: The tokei.rs server code.
- Labrinth: 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.
- mCaptcha: Proof of work based, privacy focused, libre CAPTCHA system. Crates used:
actix-web
,sqlx
,redis
, andlettre
. - Zero2prod: Source code of zero to production book zero2prod.com. Paid book but some of the chapters are 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
- gcs-proxy: A Google Cloud Storage download proxy
- Actix-Web Shuttle Template: A somewhat opinionated template for getting started with an Actix Web API and hosting it on Shuttle.
- trieve: All-in-one infrastructure for building search, recommendations, and RAG.
Community Articles, Example Apps, Starters & Boilerplate Projects
- create-rust-app: Set up a modern Rust + React web app by running one command.
- 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
- rayspace.dev: Minimalist dev portfolio and blog implemented as a Rust-powered SPA, featuring GitHub OAuth, session management, static file serving, API endpoints, and SQLx integration.
- Blog with markdown rendering: Blog example built with Actix Web, diesel (with Postgres) and r2d2 rendering articles in markdown with metadata and a front-end with React.
- Rust, Angular, PostgreSQL and JWT Security: Boilerplate project that implements an Angular + Actix Web application with login and registration pages, that is pre-dockerized.
- planters_cycle: Another boilerplate fullstack application with identity system, prisma and NextJs.
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, focused example projects demonstrating patterns or techniques.
Submissions also accepted to have your app or repo considered for the showcase lists.