Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Alaric-Jeff/Records_Information

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Tauri Setup Guide for Patient Records Information

This guide explains how to set up and run the Patient Records Information application built with Tauri, Vite, and Node.js.


1. Prerequisites

Before you can run or develop this project, make sure you have the following installed:

Node.js & npm

Rust (required by Tauri)

  • Install Rust using rustup.
  • After installation, check:
    rustc --version
    cargo --version

Additional Dependencies (depending on your OS)

Windows

macOS

  • Install Xcode from the App Store.
  • Run:
    xcode-select --install

Linux (Debian/Ubuntu example)

sudo apt update
sudo apt install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf

2. Creating a New Tauri App (Fresh Setup)

If you want to create this project from scratch, follow these steps:

  1. Use the Tauri app generator:

    npm create tauri-app
  2. It will ask you some questions:

    • Project name → choose a name (e.g., patient-records-information).
    • Package manager → choose npm (or yarn/pnpm if you prefer).
    • Frontend framework → select React, Vue, Svelte, or Vanilla (for this project: React + Vite).
    • Typescript → yes or no depending on your preference.
  3. Move into the project folder:

    cd patient-records-information
  4. Install dependencies:

    npm install
  5. Run in development mode:

    npm run tauri dev
  6. To build the application (creates an installer/binary):

    npm run tauri build

3. Cloning This Repository (Recommended)

If you already have the project from GitHub, you don’t need to create a new Tauri app. Instead:

  1. Clone the repository:

    git clone https://github.com/Alaric-Jeff/Records_Information.git
  2. Navigate into the project:

    cd patient-records-information
  3. Install dependencies:

    npm install
  4. Run in development mode:

    npm run tauri dev
  5. Build production app:

    npm run tauri build

4. Notes

  • The src-tauri folder contains the Rust backend for Tauri.
  • The src folder contains the frontend code (React/Vite).
  • You must have both Node.js and Rust installed, otherwise the build will fail.
  • For troubleshooting, see Tauri Docs.

5. Quick Commands

# Development
npm run tauri dev

# Production build
npm run tauri build

About

Patient Information Management System made with Tauri

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published