Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AbdelilahOu/Mahalli-tauri
Local First Inventory & invoicing management app built using tauri, vue-3, sqlite, sea-orm/sea-query, shadcn-vue
https://github.com/AbdelilahOu/Mahalli-tauri
diesel-cli diesel-rs inventory inventory-management invoice-generator rust-lang sea-orm sea-query shadcn shadcn-vue sqlite tauri-app tsx typescript vue3
Last synced: 15 days ago
JSON representation
Local First Inventory & invoicing management app built using tauri, vue-3, sqlite, sea-orm/sea-query, shadcn-vue
- Host: GitHub
- URL: https://github.com/AbdelilahOu/Mahalli-tauri
- Owner: AbdelilahOu
- License: other
- Created: 2023-02-26T13:14:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-03T11:32:40.000Z (3 months ago)
- Last Synced: 2024-11-20T02:23:25.084Z (2 months ago)
- Topics: diesel-cli, diesel-rs, inventory, inventory-management, invoice-generator, rust-lang, sea-orm, sea-query, shadcn, shadcn-vue, sqlite, tauri-app, tsx, typescript, vue3
- Language: Vue
- Homepage:
- Size: 22.5 MB
- Stars: 24
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-tauri - Mahalli - Local first inventory and invoicing management app. (Applications / Finance)
README
# Mahalli
Mahalli is an inventory & invoicing management desktop application, it helps you create and manage clients, products, quotes, commands and invoices.## Getting Started
Before you begin using Mahalli, ensure you have Node.js and npm (Node Package Manager) installed on your system. You can download and install them from the official Node.js website (https://nodejs.org/en/download/package-manager/current).
### Prerequisites for Running Tauri Apps
Tauri is the framework used to build Mahalli. Here are the additional requirements for running Tauri applications:
check : [tauri prerequisites](https://tauri.app/v1/guides/getting-started/prerequisites/#:~:text=Tauri%20heavily%20depends%20on%20WebView2,and%20version%20for%20your%20system.)
### Running Mahalli
1. Clone the Mahalli repository from GitHub.
2. Open a terminal and navigate to the root directory of the Mahalli project.
3. Install the project dependencies by running:```Bash
npm install
```4. Start the development server to run Mahalli in development mode:
```Bash
npm run tauri dev
```This will launch Mahalli in your default desktop browser.
5. Building Mahalli
To create a standalone desktop application for distribution, use the following command:```Bash
npm run tauri build
```This will generate an executable file in the target directory. The specific location and file name will depend on your operating system.
### Understanding the Makefile Commands
The project also includes a Makefile that defines various commands for managing the Tauri application. Here's a breakdown of some relevant commands:
- migrationsup: Runs database migrations to update the schema (use with caution in production).
- migrationslast: Reverts the most recent database migration.
- migrationsdown: Drops all tables and data, essentially resetting the database (use with extreme caution).
- entity: Generates the sea_orm entities from your database models.
- dev: Starts the development server.
- build: Builds a standalone desktop application.
- check: Runs static code checks on the Rust code.
- lint: Lints the JavaScript code for potential errors and style issues.
- migration: Generates a new database migration file:```bash
make migration name=migration_name
```- Note: These Makefile commands are typically used during development and may not be directly relevant for casual users of Mahalli.
We recommend referring to the Tauri documentation (https://tauri.app/) for a more comprehensive understanding of these commands and Tauri development in general.