Skip to content

aenodehi/Rust_ToDo_App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-Stack To-Do List App with Rust Backend & Next.js Frontend | Rust Project

Build a Full-Stack To-Do List App with Rust Backend and Next.js Frontend

What You'll Learn:

  • Setting up a Rust backend with Actix-web
  • Implementing database operations using Diesel ORM
  • Creating RESTful APIs in Rust
  • Building a modern frontend with Next.js and React
  • Fetching data from the backend using React Query
  • Managing application state and UI with Next.js

Project Overview

alt text

Instruction

Kindly follow the following Instructions to run the project in your system and install the necessary requirements

INSTALL RUST

  RUST: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

INSTALL DOC

  RUST DOC: https://doc.rust-lang.org/book/

PROJECT STRUCTURE

  todo_list
      ├── Cargo.toml
      └── src
          └── main.rs

BUILD & RUN COMMAND (BACKEND)

 COMMAND:  cd rust
           cargo run

FRONTEND COMMAND

 COMMAND:  npx run dev

INSTALL EXTENSION

 COMMAND:  rust-analyzer

PACKAGES

    [package]
      name = "todo-backend"
      version = "0.1.0"
      edition = "2018"

      [dependencies]
      actix-web = "4"
      actix-cors = "0.6"
      serde = { version = "1.0", features = ["derive"] }
      uuid = { version = "1.0", features = ["serde", "v4"] }
      chrono = { version = "0.4", features = ["serde"] }

About

Rust ToDo List App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published