Stonks.
- Vue 70.7%
- CSS 24.1%
- JavaScript 4.9%
- HTML 0.3%
|
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 54s
Introduce a new flat ESLint setup (with Vue + Prettier), lint scripts, and related dependency updates. Consolidate number/currency/percent/date helpers into src/services/format.js and reuse them across views/components, while cleaning component names/props/templates to satisfy lint/style conventions. Also remove separate currency API env/config usage and fetch forex rates through the backend /forex/{pair} endpoint, updating docs and env examples accordingly.
|
||
|---|---|---|
| .forgejo/workflows | ||
| .github | ||
| public | ||
| src | ||
| .browserslistrc | ||
| .editorconfig | ||
| .env.example | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .prettierrc.json | ||
| .stylelintrc.json | ||
| babel.config.js | ||
| eslint.config.mjs | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.mjs | ||
evr
Project setup
npm install
Environment variables
Copy the example env file and set your values:
cp .env.example .env
The project expects the following environment variables (use .env):
VITE_API_BASE_URL: Base URL of the backend API (e.g.https://bodega.esvedra.one).VITE_API_USERandVITE_API_PASS: Optional API credentials, sent as Basic Auth.
Exchange rates are served by the backend API (/forex/{pair}); no separate currency API is needed.
Notes:
- Do not commit real secrets to the repository. Keep
.envout of version control. - If credentials are present, the client will send them as Basic Auth (
Authorizationheader). Ensure your API allowsAuthorizationin CORS preflight requests.
Compiles and hot-reloads for development
npm run dev
Compiles and minifies for production
npm run build
Preview production build
npm run preview
Customize configuration