Skip to main content

Local installation

Goal​

Dev server against localhost API or routineassist.com.

For whom​

Developer contributors.

Where in the app​

Repo root; npm run dev for web.

Prerequisites​

Node.js, npm, git clone of project.

Step by step​

  1. Clone repository to local folder.
  2. Run npm install in root.
  3. Copy .env.example to .env if present.
  4. Start web: npm run dev — Vite dev server.
  5. API: configure base URL in env; frontend uses apiFetch/apiUrl from src/lib/apiBase.
  6. Open browser localhost port from terminal output.
  7. For Android emulator: npm run android:dev-emulator.

Options & settings​

Single codebase src/ for browser and Capacitor Android.

Tips & troubleshooting​

After dependency change: always re-run npm install + rebuild Android.

See also​