This project demonstrates basic CRUD (Create, Read, Update, Delete) operations implemented in Rust using the SurrealDB database.
- Rust programming language (version 1.73.0 or later)
- SurrealDB
Install Rust from rustup.rs if you haven't already.
- Install SurrealDB from SurrealDB GitHub repository.
-
Install Rust:
If you haven't already installed Rust, you can do so by visiting rustup.rs and following the instructions on the website. Rustup will install Rust's compiler and package manager, Cargo, on your system.
-
Install SurrealDB:
To install SurrealDB, go to the SurrealDB GitHub repository and follow the installation instructions provided there. Make sure to check the README for any platform-specific steps or prerequisites.
-
Clone the Repository:
Clone the desired repository to your local machine using the following command in your terminal or command prompt:
git clone https://github.com/Parikalp-Bhardwaj/Rust_Surrealdb_Project.git
- Navigate to the project directory:
cd ./Rust_Surrealdb_Project
- Build the project:
cargo build
- Make sure SurrealDB is running on your system.
- Run the compiled binary.
cargo run