1 unstable release
new 0.1.0 | Feb 15, 2025 |
---|
#1697 in Web programming
100 downloads per month
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 anArc<Mutex>
for storage. - Asynchronous: Built with
tokio
andhyper
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
π₯ Participants
The MetaStakers team is composed of the following members:
Dependencies
~5β12MB
~137K SLoC