This repository is an open-source example of how to quickly get up and running with Zoo's Text-to-CAD API endpoints. It is built using SvelteKit.
VITE_TOKEN
environment variable in ./.env.development.local
to the generated dev API tokenyarn global add vite
and yarn install
yarn dev -- --open
The full collection of scripts are listed in package.json.
To create a production version of your app:
yarn build
You can preview the production build with yarn preview
.
Please run the following commands to ensure that your code is as ready for review as it can be:
yarn fmt --fix && yarn test
In order to run our Playwright testing suite locally, please set the PLAYWRIGHT_SESSION_COOKIE
variable within .env.development
to a token from a logged in local development session. You can retrieve it by:
__Secure-next-auth.session-token
with the domain of localhost
Now you should be able to run the yarn test:integration
and yarn test
commands successfully.