How cse442-software-engineering-ub/f26-semester-project-shadowpika works
Karavan Login is a React login and registration interface with two authentication paths: localhost preview uses browser local storage, while non-local use posts credentials to PHP endpoints backed by MySQL. Registration stores bcrypt hashes; login looks up the account and verifies its password. The source excerpts show the client dispatch and PHP database operations. The README contains no capability details, and other frontend styling and deployment behavior are not mapped.
Main entry points: App.jsx Login and register form · login.php Credential verification · register.php Account registration · main.jsx React entry
Components 7
Login client
- React entry
karavan-login/src/main.jsx - Login and register form
karavan-login/src/App.jsx
PHP authentication
- Credential verification
login.php - Account registration
register.php
Account storage
- Preview user table
karavan-login/src/App.jsx - MySQL users table
Other components
- User
Connections 7
- User → Login and register form: submits credentials
karavan-login/src/App.jsx - React entry → Login and register form: renders
karavan-login/src/main.jsx - Login and register form → Preview user table: reads and writes
karavan-login/src/App.jsx - Login and register form → Credential verification: posts login
karavan-login/src/App.jsx - Login and register form → Account registration: posts registration
karavan-login/src/App.jsx - Credential verification → MySQL users table: looks up account
login.php - Account registration → MySQL users table: inserts account
register.php