In general app uses Vue.js as a framework, vuetify as UI-Kit, vue-query to manage api requests and zod to validate and type data.
Locales list requested with query in the App component, then user can select locale with LocaleSelector
component. Selected locale passed to the LocaleTable
component and used there to request extended locale information. Different data types are handled in TableCell
component.
npm install
To connect to the API, you need to create a .env
file in the root directory of the project and add environment
variables from .env.example
file
Cypress test will work with intercepted requests and will use its own environment variables from cypress.env.json
file
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server.
Lint with ESLint
npm run lint