Erste Fassung, live unter https://pulse.perinco.de. Frontend React 19 + TypeScript + Tailwind 4 (Vite), Backend Express mit mysql2 auf MariaDB, Exporte als PDF (pdfkit), Excel (exceljs) und CSV. Aufbau, Designsystem und die sieben Themes kommen aus dem perinco CRM. Fachlich: - Buchung mit Wochen-, Monats- und Jahresansicht, Zeiten als 1:23 oder 1,5 - Projekte mit n Budgettoepfen: Laufzeit, Volumen, Sperre bei Ablauf oder aufgebrauchtem Budget, Buchung nur auf den passenden Topf - Kunden, Team mit Hierarchie, Reports im Harvest-Stil, Monatsexporte - Rollen user/lead/management/admin, doppelt geprueft (Menue und Backend) - SSO gegen Microsoft Entra ID, Uebernahme der AD-Benutzer per Drag & Drop Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
19 lines
563 B
TypeScript
19 lines
563 B
TypeScript
import path from 'path';
|
|
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
import tailwindcss from '@tailwindcss/vite';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3110,
|
|
host: '0.0.0.0',
|
|
// Dev: Backend lokal auf 5010. Produktiv proxyt Apache /api auf 127.0.0.1:5010.
|
|
proxy: {
|
|
'/api': { target: 'http://127.0.0.1:5010', changeOrigin: true },
|
|
},
|
|
},
|
|
plugins: [react(), tailwindcss()],
|
|
resolve: { alias: { '@': path.resolve(__dirname, './src') } },
|
|
build: { outDir: 'dist', sourcemap: false },
|
|
});
|