This example shown how to use:
- Aidbox SDK
- getResource method
- getResources method
- Create a new file in the root and name it ".env"
- Open the .env file in a text editor.
- In the .env file, write the following, replacing the values in angle brackets with real
VITE_AIDBOX_URL=<AIDBOX URL>
VITE_AIDBOX_USERNAME=<AIDBOX CLIENT USERNAME>
VITE_AIDBOX_SECRET=<AIDBOX CLIENT SECRET>
Make sure to replace values in angle bracket with your actual credentials
Make sure that your SDK archive have the same name as in the package.json
npm install
npm run dev