fix: CORS configuration and update all README files

- Fixed dotenv path in app.js to properly load .env from backend root
- Updated CORS to allow http://localhost:5173 (frontend URL)
- Updated README.md with accurate project statistics (58 files, 6677+ lines)
- Updated backend/README.md - marked as Production Ready
- Updated frontend/README.md with complete feature list
- All systems tested and working (backend + frontend)
This commit is contained in:
salvacybersec
2025-11-10 17:09:35 +03:00
parent 19e551f33b
commit 0e5dffb7fc
4 changed files with 170 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
require('dotenv').config();
require('dotenv').config({ path: require('path').join(__dirname, '../.env') });
const express = require('express');
const session = require('express-session');
const helmet = require('helmet');