Reuse the existing Mapbox token instead of maintaining a separate Bing Maps key. Note the coordinate order flips to lon,lat for the Mapbox geocoding endpoint.
40 lines
694 B
Markdown
40 lines
694 B
Markdown
# Vaquant
|
|
|
|
Manage group budgets — Vue 3 + Vite + Pinia + Tailwind/DaisyUI + CouchDB (PouchDB).
|
|
|
|
## Requirements
|
|
|
|
- Node 22+ (see `.node-version`)
|
|
- pnpm 10+ (`corepack enable && corepack prepare pnpm@latest --activate`)
|
|
|
|
## Setup
|
|
|
|
```sh
|
|
pnpm install
|
|
```
|
|
|
|
## Develop
|
|
|
|
```sh
|
|
pnpm dev # Vite dev server on http://localhost:8080
|
|
pnpm typecheck # vue-tsc --noEmit
|
|
pnpm lint # ESLint
|
|
pnpm test # Vitest
|
|
```
|
|
|
|
## Build
|
|
|
|
```sh
|
|
pnpm build # Type-check, then build to dist/
|
|
pnpm preview # Serve the production build locally
|
|
```
|
|
|
|
## Environment
|
|
|
|
Create `.env` (gitignored) with:
|
|
|
|
```
|
|
VITE_COUCHDB=https://your-couchdb-host
|
|
VITE_MAPBOX_KEY=pk.your-mapbox-token
|
|
```
|