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
allowedOriginin the service config to enable API requests from localhost.
-
Configure API URL
- Open the
fetcher.tsfile. - Set
axios.defaults.baseURLto 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