Skip to main content
Tauri banner

Prerequisites

Before you start, make sure you:
1

Add the following crates to the Tauri project's dependencies

src-tauri/Cargo.toml
2

Fetch Rust dependencies inside the `src-tauri` directory.

3

Configure database credentials

Get the database URL.
Get the database authentication token.
Assign acquired credentials to the environment variables inside src-tauri/.env.
src-tauri/.env
4

Execute SQL

src-tauri/src/main.rs

Examples

Personal Notes App

See the full source code