Skip to content

Routing#17

Merged
bella-247 merged 50 commits into
mainfrom
routing
Apr 21, 2026
Merged

Routing#17
bella-247 merged 50 commits into
mainfrom
routing

Conversation

@bekam-bit
Copy link
Copy Markdown
Contributor

No description provided.

Remove invalid nested PHP, validate JSON payloads, require fullName on register, and implement session-based logout.

Made-with: Cursor
Normalize trailing slashes and match routes by suffix so the API works when hosted under a subfolder.

Made-with: Cursor
Introduce /api and /api/health routes and wire them into the backend entrypoint for smoke testing.

Made-with: Cursor
Add Postman smoke collection plus contract verification, error catalog, and status code coverage templates.
@bekam-bit
Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts in this pull request

bella-247 and others added 20 commits April 21, 2026 13:53
- Update db.php to use Port 3307 for local XAMPP environment
- Implement AuthMiddleware for role-based access control (Admin/Customer)
- Add strict input validation to AuthController (email format & password length)
- Sync UserRepository with controller methods
- Add .htaccess for clean API routing
… handling, and expanding routes for cart and order functionalities
Log database connection errors and return JSON response.
@Barok-y Barok-y requested a review from bella-247 April 21, 2026 11:23
@bella-247 bella-247 merged commit 28aa983 into main Apr 21, 2026
1 check passed
@bella-247 bella-247 deleted the routing branch April 23, 2026 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants