Stonks.
  • Vue 70.7%
  • CSS 24.1%
  • JavaScript 4.9%
  • HTML 0.3%
Find a file
Michele Marotto 282b231249
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 54s
Add ESLint and refactor shared formatting
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.
2026-07-16 16:14:20 +02:00
.forgejo/workflows Combine build and deploy into single job 2026-05-02 12:53:09 +02:00
.github Mobile optimizations for portfolio 2026-04-20 21:04:39 +02:00
public Session expired detection added 2026-04-08 14:08:52 +02:00
src Add ESLint and refactor shared formatting 2026-07-16 16:14:20 +02:00
.browserslistrc Init vue project 2021-03-01 12:25:59 +01:00
.editorconfig Refactored code 2026-02-24 22:45:24 +01:00
.env.example Add ESLint and refactor shared formatting 2026-07-16 16:14:20 +02:00
.gitignore Add .env to .gitignore 2026-02-22 20:34:01 +01:00
.gitlab-ci.yml Update .gitlab-ci.yml file 2026-02-27 18:30:41 +00:00
.prettierrc.json Refactored code 2026-02-24 22:45:24 +01:00
.stylelintrc.json Add stylelint and modern CSS guidelines + big overhaul fixes 2026-04-03 23:00:11 +02:00
babel.config.js Refactored code 2026-02-24 22:45:24 +01:00
eslint.config.mjs Add ESLint and refactor shared formatting 2026-07-16 16:14:20 +02:00
index.html Fixes #38 added maximum-scale=1 2026-04-04 20:59:40 +02:00
package-lock.json Add ESLint and refactor shared formatting 2026-07-16 16:14:20 +02:00
package.json Add ESLint and refactor shared formatting 2026-07-16 16:14:20 +02:00
README.md Add ESLint and refactor shared formatting 2026-07-16 16:14:20 +02:00
vite.config.mjs Vite fix, esbuild 2026-04-03 23:53:52 +02:00

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_USER and VITE_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 .env out of version control.
  • If credentials are present, the client will send them as Basic Auth (Authorization header). Ensure your API allows Authorization in 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

See Configuration Reference.