Frontend part for redline
- node 18+
- docker 20+
- Intellij IDEA Ultimate
- VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
npm install
npm run dev:web
npm run build
Run Unit Tests with Vitest
npm run test:web
Lint with ESLint
npm run lint
You can change VITE_API_URL
to a proper testing value
docker build -f infrastructure/Dockerfile \
-e VITE_API_URL=http://api.redline.sombriks.org \
-t sombriks/redline-web:testing .
You can expose another port if needed
docker run --rm -it --network=host -p 5000:5000 sombriks/redline-web:testing