Skip to content

tdwesten/tauri-drizzle-sqlite-proxy-demo

Repository files navigation

Tauri + Drizzl ORM + SQLite

This is a simple example of how to use Tauri with Drizzl ORM and SQLite.

Getting Started

Run the following commands to start the application:

npm install
npm run tauri dev

Migration

After updating your models, you can run the following command to generate a new migration file in the src-tauri/migrations folder:

npm run migrate

By adding this to the tauri.config.js file the migrations folder in the app resoureces will be exposed to the tauri app.

"resources": [
    "migrations/*"
]

Database

You can find the sqlite database file in the ~/Library/Application Support/com.tauri.dev folder or the equivalent for your OS. See the Tauri documentation for more information.

About

A Tauri app with a React front-end and a SQLite database using Drizzle ORM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published