DevAndreNarcizo/laravel-clean-architecture-api ? reverse-engineered prompt

Reverse engineered prompt

Build me a Laravel 11 REST API sample for an enterprise style project, using clean architecture and a simple JSON response format. I want it set up so the code is split into domain, application, infrastructure, and interface layers, with the controller layer calling use cases and the lower layers depending inward like a proper clean architecture app.

Please include the basic project and task flow already working, with a way to create projects and add tasks to a project. The API should use the response envelope with success, data, error, and meta fields, and it should be available under /api/v1. Make it work with PostgreSQL, Redis, and RabbitMQ, and be easy to run locally with Docker as well as with the normal Laravel setup. Add tests, code quality checks, and an OpenAPI spec for the endpoints. If you need to check current Laravel or package docs online, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab