Initial commit — Electron + React frontend, Express/Docker backend, members & project management

This commit is contained in:
Ryan Lancaster
2026-03-15 13:40:01 -07:00
commit a3949c32ee
24 changed files with 12583 additions and 0 deletions

15
frontend/vite.config.js Normal file
View File

@@ -0,0 +1,15 @@
import { defineConfig, loadEnv } from 'vite'
import react from '@vitejs/plugin-react'
// Use relative base so built assets load correctly from filesystem/Electron
// Ports are defined in the root .env file (PORT_FRONTEND_DEV, PORT_BACKEND)
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, '../', '')
return {
base: './',
plugins: [react()],
server: {
port: parseInt(env.PORT_FRONTEND_DEV) || 5173,
},
}
})