Complete mock secure web application with:

- User registration and login with CSRF protection
- SQL injection prevention and XSS protection
- Real-time form validation
- Password strength requirements
- Show/hide password toggle
- Modern dark theme UI
- Routes for /login, /register, /home, /logout
- API endpoints for CRUD operations
- Prettier and ESLint configure
This commit is contained in:
2026-02-21 18:20:41 -05:00
commit dea56a7e80
22 changed files with 3366 additions and 0 deletions

13
composer.json Normal file
View File

@@ -0,0 +1,13 @@
{
"name": "user/secure-web-app",
"description": "Secure PHP/JavaScript web application",
"require-dev": {
"squizlabs/php_codesniffer": "^3.9"
},
"config": {
"php_codesniffer": {
"standard": "PSR12",
"encoding": "utf-8"
}
}
}