feat: add full project - backend, frontend, docker, specs and configs

This commit is contained in:
MatheusAlves96 2026-04-20 23:59:45 -03:00
parent b77c7d5a01
commit e6cb06255b
24489 changed files with 61341 additions and 36 deletions

19
frontend/vite.config.js Normal file
View file

@ -0,0 +1,19 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
const apiHost = process.env.VITE_API_HOST ?? 'localhost';
export default defineConfig({
plugins: [react()],
server: {
port: 5173,
watch: {
usePolling: true,
ignored: ['**/public/imoveis/**'],
},
proxy: {
'/api': {
target: `http://${apiHost}:5000`,
changeOrigin: true,
},
},
},
});