Skip to content

A Todo application built to learn Rust, designed with extensive comments for clarity, and featuring a comparison to FastAPI implementation.

Notifications You must be signed in to change notification settings

agfianf/todo-app-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todo App in Rust

A simple Todo API built with Rust, Actix-web, Sqlx and PostgreSQL.

Try to learn rust by building a simple todo app.

Prerequisites

  • Rust and Cargo (for development)
  • Docker and Docker Compose

Architecture

architecture

Getting Started

  1. Start the todo-app and PostgreSQL database:
docker-compose up -d
  1. The API will be available at http://localhost:8080

API Endpoints

  • GET /api/todos - List all todos
  • POST /api/todos - Create a new todo
  • GET /api/todos/{id} - Get a specific todo
  • PUT /api/todos/{id} - Update a todo
  • DELETE /api/todos/{id} - Delete a todo

Todo App in Rust

simple frontend

About

A Todo application built to learn Rust, designed with extensive comments for clarity, and featuring a comparison to FastAPI implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published