Logo
Explore Help
Register Sign In
Admin/gartenmanager
1
0
Fork 0
You've already forked gartenmanager
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
5b0003695118f29839051b8db01ca2f873f42326
gartenmanager/frontend/vite.config.js

22 lines
457 B
JavaScript
Raw Normal View History

feat: Phase 1 complete – full working application Backend (FastAPI): - REST API: auth, plants, beds, plantings - CRUD layer with CRUDBase - Pydantic v2 schemas for all entities - Alembic migration: complete schema + all enums - Seed data: 28 global plants + 15 compatibilities Frontend (Vue 3 + PrimeVue): - Axios client with JWT interceptor + auto-refresh - Pinia stores: auth, beds, plants - Views: Login, Beds, BedDetail, PlantLibrary - Components: AppLayout, BedForm, PlantingForm, PlantForm Docker: - docker-compose.yml (production) - docker-compose.dev.yml (development with hot-reload) - Nginx config with SPA fallback + API proxy - Multi-stage frontend Dockerfile - .env.example, .gitignore Version: 1.0.0-alpha
2026-04-06 07:45:00 +02:00
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { fileURLToPath, URL } from 'node:url'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
port: 5173,
proxy: {
'/api': {
target: import.meta.env?.VITE_API_BASE_URL || 'http://localhost:8000',
changeOrigin: true,
},
},
},
})
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 114ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API