This is a simple CRUD API built with Rust and Actix-web, similar to FastAPI.
- Create an item (
POST /items) - Retrieve all items (
GET /items) - Update an existing item (
PUT /items) - Delete an item (
DELETE /items/{id})
Ensure you have Rust installed. If not, install it using:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shgit clone https://github.com/NotIncorecc/rust-crud.git
cd rust-crudNavigate to the project root and run:
cargo buildcargo runThe server starts at http://127.0.0.1:8080.