GithubHelp home page GithubHelp logo

mj59735 / umlboard-tauri-local-storage Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pgenfer/umlboard-tauri-local-storage

0.0 0.0 0.0 1.46 MB

A sample application that demonstrates how to integrate a database backend into a Tauri application.

Home Page: https://umlboard.com/blog/moving-from-electron-to-tauri-2/

Rust 58.07% TypeScript 33.32% CSS 7.11% HTML 1.49%

umlboard-tauri-local-storage's Introduction

Moving from Electron to Tauri Part 2 - Local Data Storage

This small sample application is the second part of a blog series investigating how some of UMLBoard's core concepts can be ported to Tauri. UMLBoard uses a layered architecture with a repository layer to decouple the application logic from the database.

UMLBoard's Architecture consits of three layers. The application layer uses a repository to access the database.

In this project, we're investigating how we could implement such a layered architecture with Tauri and Rust by using two different database backends, SurrealDB and BonsaiDB.

The project uses the React+Tauri+Vite template with additional dependencies to the Redux Toolkit.

Building the Sample Application

To build and run the app, use the following command

npm run tdev

This will first build the React front end and afterwards build and run the Tauri application.

Debugging

To debug the application, run the Tauri Development Debug task via the VS Code debugger.

Debugging the front can be done via the Front-end App Debug task, but please note that this does currently only work under Windows.

Recommended IDE Setup

umlboard-tauri-local-storage's People

Contributors

pgenfer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.