The browser frontend for the meek-bank banking API
- Svelte 81.3%
- TypeScript 18.4%
- CSS 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| static | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| LICENSE | ||
| oauth.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| svelte.config.js | ||
| tsconfig.json | ||
| vite.config.ts | ||
Meek Bank UI
A Svelte browser front-end for meek bank. The two projects share their CHANGELOG.
Developing
Install pnpm. Make sure your meek bank backend is running. Copy .env.example to .env.development. Configure the backend url in .env.development. Start the development server:
pnpm run dev
Building
To create a production version of the app:
pnpm run build
API base URL (cross-origin deployments)
In dev, Vite proxies /v1/* to the backend (see VITE_API_TARGET).
For production or any setup where the API is on a different origin than the UI, set:
VITE_API_BASE_URL(example:https://api.example.com)
The UI will then call VITE_API_BASE_URL + /v1/....
If the API is cross-origin, ensure the backend CORS policy allows:
Authorizationheader- the UI origin
- required methods (GET/POST/PATCH/DELETE)