The frontend`s architecture is based upon an Architectural Decision Records (ADR).
Mainly, Vue 3, vite, TS, tailwindCSS and PrimeVue are used.
npm i
npm run dev
npm run generate:api
go to http://localhost:3000
To have a consistent code style and quality, we use Eslint in combination with prettier.
You can modify which backend you want to connect to by modifying the package.json
file. E.g. to point to a remote backend:
scripts->dev:local
VITE_LOCAL_BACKEND=true
to VITE_LOCAL_BACKEND=false
https://studymanager.platform-test.more.redlink.io/api
with your URL path.Set the EsLint settings for Webstorm in Preferences --> Languages & Frameworks --> Javascript --> Code Quality Tools --> ESLint
{**/*,*}.{js,ts,html,vue,json}
Currently not working because of Intellij IDEs..., use npm run lint:fix
for now
npm i
: install dependencies / node modulesnpm run dev
: run app locally in dev environmentnpm run package
: build appnpm run preview
: builds app and lets the build run on a server locally - more production like previewnpm run test:unit
: runs unit tests and watches for changesnpm run test:unit:once
: runs unit tests once, doesn't watch for changesnpm run coverage
: creates code coverage. run twice after installationnpm run storybook
: runs storybook on 6006npm run lint
: runs eslint to check code qualityVue 3 + Vite + Tailwind + TypeScript + PostCSS + Vitest
Includes ESlint and Prettier for formatation and i18n for multilanguage option.
First-party plugins needed for Tailwind UI:
The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
Vitest + Vue Test Utils + Vue Test Library + jsDom
The Version of Storybook has 33 Vunerabilites and will be fixed in a future version of storybook. Since Storybook won't be deployed and is only used for dumb component development in dev process, they can be ignored for now. The API will replace storybook development in the future.