The FinkiOpenDesk frontend is a React 19 single-page application built with Vite and TypeScript. During local development it proxies API requests to a backend running onDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Daniel-Stojanovski/finkiopendesk/llms.txt
Use this file to discover all available pages before exploring further.
localhost:8080. For production it is compiled into a static dist/ directory that can be hosted on any static file host, CDN, or object storage bucket.
Prerequisites
- Node.js v18 or later
- npm v9 or later (bundled with Node.js)
Running locally
Dev server proxy
Thevite.config.ts defines a proxy rule for local development:
vite.config.ts
npm run dev. In the production build, all API calls go directly to the configured backend URL.
Production build
Run the build command
build script runs tsc && vite build. TypeScript compiles and type-checks the project first; Vite then bundles and minifies the output into the dist/ directory.Preview the build locally (optional)
dist/ using Vite’s built-in preview server so you can verify the production bundle before deploying.If your static host does not support SPA fallback rewrites, users who navigate directly to a deep link (e.g.,
/careers/roadmap/backend) will receive a 404. Check your host’s documentation for how to configure this.Backend URL configuration
In production, the frontend communicates with the backend through three Axios instances defined insrc/shared/axios.ts. All three point to the deployed Render service:
src/shared/axios.ts
baseURL values in src/shared/axios.ts before running npm run build.