git clone <repository-url>
cd <project-directory>
npm install
VITE_API=http://fe-test.guardtime.com/documents
Create .env
or .env.local
and set up API URL by setting VITE_API
variable:
VITE_API=http://api.example.com/documents
npm start
Woild be accessable on http://localhost:4173/
via vite preview.
Or alternatevly for ongoing development run:
npm run dev
Navigate in browser to http://localhost:5173/
To run the tests, use the following command:
npm test
To build the application for production, use the following command:
npm run build
This will create a dist
directory with the compiled assets.