Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.3 KB

README.md

File metadata and controls

44 lines (30 loc) · 1.3 KB

This project demonstrates basic CRUD (Create, Read, Update, Delete) operations implemented in Rust using the SurrealDB database.

Requirements

  • Rust programming language (version 1.73.0 or later)
  • SurrealDB

Setup

Install Rust from rustup.rs if you haven't already.

  • Install SurrealDB from SurrealDB GitHub repository.
  1. 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.

  2. 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.

  3. 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
  1. Navigate to the project directory:
cd ./Rust_Surrealdb_Project 
  1. Build the project:
cargo build

Usage

  • Make sure SurrealDB is running on your system.
  • Run the compiled binary.
cargo run