Follow these steps to set up and run your local version of Guard App:
-
Run a Guard Service
- Guard App requires a running Guard Service.
- Refer to the Guard 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 Guard Service API URL.
- Open the
-
Install Dependencies and Build Packages
npm install ./build.sh cd apps/guard
-
Launch the App
npm run dev