Follow these steps to set up and run your local version of Watcher App:
-
Run a Watcher Service
- Watcher App requires a running Watcher Service.
- Refer to the Watcher Service documentation for setup instructions.
- Important: Set
allowedOrigin
in the service config to enable API requests from localhost.
-
Configure API URL
- Open the
fetcher.ts
file. - Set
axios.defaults.baseURL
to your Watcher Service API URL.
- Open the
-
Install Dependencies and Build Packages
npm install ./build.sh cd apps/watcher
-
Launch the App
npm run dev