Skip to content

NotIncorecc/rust-crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Clone in Rust using Actix-web

This is a simple CRUD API built with Rust and Actix-web, similar to FastAPI.

🚀 Features

  • Create an item (POST /items)
  • Retrieve all items (GET /items)
  • Update an existing item (PUT /items)
  • Delete an item (DELETE /items/{id})

🛠 Setup Instructions

1️⃣ Install Rust

Ensure you have Rust installed. If not, install it using:

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

2️⃣ Clone this repository

git clone https://github.com/NotIncorecc/rust-crud.git
cd rust-crud

3️⃣ Install Dependencies

Navigate to the project root and run:

cargo build

4️⃣ Run the Server

cargo run

The server starts at http://127.0.0.1:8080.

About

simple CRUD API built in RUST, like FastAPI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages