add: merged front with back

This commit is contained in:
Lukian LEIZOUR 2025-04-15 22:52:15 +02:00
parent 1832ed12ec
commit 48f50a1daa
42 changed files with 5458 additions and 20 deletions

17
front/vite.config.js Normal file
View file

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