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
- Clone repository to local folder.
- Run
npm installin root. - Copy
.env.exampleto.envif present. - Start web:
npm run dev— Vite dev server. - API: configure base URL in env; frontend uses
apiFetch/apiUrlfromsrc/lib/apiBase. - Open browser localhost port from terminal output.
- 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.