# Actix Todo App

Deploy the Actix Todo App template on Render with PostgreSQL. Get your Rust web application live in minutes with this ready-to-use starter.

- Repository: https://github.com/render-examples/actix_todo
- Demo: https://actix-todo.onrender.com/
- Stack: postgresql, rust
- Tags: backend
- URL: https://render.com/templates/actix-todo

## Why deploy Actix Todo App on Render?

Actix Todo App is a sample Rust web application demonstrating how to build a todo list with the Actix web framework and PostgreSQL database. It serves as a starting point for deploying Actix-based applications on Render's hosting platform.

This template deploys a production-ready Actix web app with a managed PostgreSQL database already connected—no manual connection string wiring, Diesel CLI setup, or migration scripting required. Instead of configuring Rust build caching, database pooling, and environment variables yourself, you get a working todo API with one click. Render handles the Postgres provisioning and automatic environment injection, so you skip the infrastructure plumbing and start extending the Actix codebase immediately.

## What you can build

After deploying, you'll have a working todo list API built with Actix and Rust, backed by a PostgreSQL database. You can use it as a starting point for building out your own Rust web application or reference it to understand how Actix apps run in production on Render.

## Key features

- *Actix Web Framework*: Built on Actix, a high-performance Rust web framework with async support and actor-based architecture.
- *PostgreSQL Integration*: Pre-configured PostgreSQL database connection for persistent data storage out of the box.
- *Render Deployment Ready*: Configured for one-click deployment to Render platform with documented deployment guide.
- *Todo CRUD Example*: Includes working todo application based on official Actix examples demonstrating basic REST operations.

## Use cases

- Rust developer deploys first production Actix API with managed PostgreSQL
- Backend engineer prototypes CRUD app without configuring infrastructure
- Student learns Actix web framework patterns through working todo example
- Team evaluates Render platform for hosting Rust microservices

## Next steps

1. Open the Actix Todo app URL and add a new todo item — You should see the todo appear in the list immediately after submitting
2. Refresh the page after adding a few todos — Your todos should persist and still be visible, confirming PostgreSQL is storing data correctly
3. Test marking a todo as complete and then deleting it — The todo status should update instantly, and deleted items should disappear from the list

## Resources

- [Actix Web official site](https://actix.rs)
