mirror of
https://github.com/finmars-platform/finmars-vue-portal.git
synced 2026-04-26 23:05:57 +03:00
Open Source Finance Management Platform
|
|
||
|---|---|---|
| .github/workflows | ||
| coverage | ||
| docker | ||
| src | ||
| tailwind | ||
| tests/Fm | ||
| .editorconfig | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| .prettierignore | ||
| .prettierrc | ||
| CLA.md | ||
| CONTRIBUTING.md | ||
| docker-compose.yml | ||
| Dockerfile | ||
| Finmars.code-workspace | ||
| LICENSE.md | ||
| nuxt.config.ts | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
| vitest.config.ts | ||
Nuxt 3 Minimal Starter
Look at the nuxt 3 documentation to learn more.
Setup
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install --shamefully-hoist
Development Server
Start the development server on http://localhost:3000
Create file .env in project's root directory.
.env example:
NUXT_APP_BUILD_ASSETS_DIR='/realm00000/v/_nuxt/'
KEYCLOAK_URL='https://stage-auth.finmars.com'
KEYCLOAK_REALM='finmars'
KEYCLOAK_CLIENT_ID='finmars'
APP_HOST='http://localhost:3000/v'
API_HOST='https://stage.finmars.com'
AUTH_HOST='https://stage.finmars.com/authorizer'
OLD_APP_URL='http://0.0.0.0:8080/#!/'
NUXT_HOST='localhost'
For NUXT_APP_BUILD_ASSETS_DIR replace realm00000 with the one that will be used
Run command:
npm run dev
For locally deployed backend run command:
npm run dev-local
Production
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Checkout the deployment documentation for more information.
Local Development with local backend & authorizer
Create .env
.env example
KEYCLOAK_URL=https://dev-auth.finmars.com
KEYCLOAK_REALM=finmars
KEYCLOAK_CLIENT_ID=finmars
NUXT_APP_BASE_URL=/realm00000/v/
APP_HOST=http://0.0.0.0:3000/realm00000/v/
AUTH_HOST=http://0.0.0.0:8083/authorizer
API_HOST=http://0.0.0.0:8000