feat: add React frontend with login, signup, dashboard pages and admin seeding support

This commit is contained in:
2025-12-19 17:33:23 +05:30
parent 2d3ad4f567
commit b2ad488043
26 changed files with 4302 additions and 15 deletions

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

@@ -0,0 +1,15 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://127.0.0.1:3000',
changeOrigin: true,
},
},
},
})