Skip to content
Snippets Groups Projects

Development Setup

Install Dependencies

Install dependencies with npm.

npm install

Environment Setup

Create the file .env with the following (or similar) content. See the README for details on these environment variables.

VITE_API_BASE_URL=http://localhost:9999/api
VITE_S3_URL=http://localhost:9998

Backend Setup

Clone the repository for the backend and set up the service for developing.

Run linter and type check

npm run lint
npm run type-check

Run Dev Server

Start the dev service with npm

npm run dev

Create axios client

To create the axios client from the OpenAPI definition of the backend, start the backend and execute the following command

npm run generate-client