DocsGuides
Local Development & Build
Step-by-step instructions for running the t-server API and Tauri desktop app.
Setting up the local environment requires spinning up both the Node.js API and the Rust/React Tauri client.
1. Running the Backend (t-server)
Ensure Node.js v20+ is installed and use npm:
bashcd t-server npm install cp .env.example .env # Add your Alpha Vantage & NewsAPI keys npm run dev
The server initializes trentarev.sqlite in the ./data folder on port 3000.
2. Building the Desktop Client (t-desk)
Ensure the Rust toolchain is installed (rustc --version).
bashcd t-desk bun run tauri dev # Run in Dev Mode (HMR enabled) bun run tauri build # Compile optimized production MSI/EXE