🚀 Features and Backend Architecture
JWT Security
Implementation of stateless authentication to secure transactions between the client and the server using JSON Web Tokens.
Access Control (RBAC)
Custom middlewares that intercept and validate granular privileges (
admin, auditor, operator) before executing controllers.Immutable Log
Transactional event log with JSON fields (
payload) for historical metadata and IP address anonymization using Traits.Data Protection
Implementation of “Soft Deletes” for logical user deletions, maintaining referential integrity without losing history.
RESTful Standardization
Standardized communication contracts under strict versioning (
/api/v1/), guaranteeing the secure evolution of interfaces.Automated Testing
Business logic and endpoint coverage using Pest, guaranteeing predictable and regression-proof flows.
🛠️ Tech Stack
💻 Development Commands
Instructions to set up the environment locally (it is assumed that PostgreSQL is running on port5434).
📡 API Documentation
All requests to protected routes require the header:Authorization: Bearer <token>.