#crud #hyper #web #web-apps #web-api #api #blockchain

bin+lib crud_hyper

A simple CRUD (Create, Read, Update, Delete) web application built using Rust’s hyper library. This project demonstrates how to implement basic CRUD operations with an in-memory database and serves as a learning resource for Rust web development.

1 unstable release

new 0.1.0 Feb 15, 2025

#1697 in Web programming

Download history 100/week @ 2025-02-11

100 downloads per month

MIT license

105KB
186 lines

CRUD Hyper

A simple CRUD (Create, Read, Update, Delete) web application built using Rust's hyper library. This project demonstrates how to implement basic CRUD operations with an in-memory database and serves as a learning resource for Rust web development.

Features

  • Create: Add new items to the database.
  • Read: Retrieve all items from the database.
  • Update: Modify the name of an existing item.
  • Delete: Remove an item from the database.
  • In-Memory Storage: Uses a thread-safe HashMap wrapped in an Arc<Mutex> for storage.
  • Asynchronous: Built with tokio and hyper for asynchronous request handling.

Usage

Prerequisites

  • Rust 1.60 or higher
  • Cargo (Rust's package manager)

Installation

Clone the repository and build the project:

git clone https://github.com/yourusername/crud_hyper.git
cd crud_hyper
cargo build

πŸ“œ License

This project is licensed under the MIT License. Check the LICENSE file for more details.


Dojo MultiversX - Challenge 02

  • Rust Server
    • Challenge: Create a CRUD (Create, Read, Update, Delete) to manage records .

🌟 Developed during the Dojo MultiversX program

Dojo MultiversX logo

πŸ‘₯ Participants

The MetaStakers team is composed of the following members:

Dependencies

~5–12MB
~137K SLoC