Phase 7: Frontend auth — React Router, AuthContext, Login/Register, API client

This commit is contained in:
Suslov-MD
2026-08-16 08:54:31 +00:00
parent 281daa4717
commit ac85d71c65
16 changed files with 578 additions and 3 deletions
+6
View File
@@ -9,6 +9,12 @@ import react from '@vitejs/plugin-react';
export default defineConfig({
plugins: [react()],
server: {
host: true,
port: 5173,
proxy: {
'/api': 'http://localhost:3000',
'/uploads': 'http://localhost:3000',
'/socket.io': { target: 'http://localhost:3000', ws: true },
},
},
});