Instantly architect enterprise-grade REST APIs complete with database schemas and secure controller blueprints.
Act as a Principal Cloud Architect. I want to build a scalable RESTful microservice for [SERVICE_DESCRIPTION].
Generate:
1. Complete OpenAPI 3.1 schema specification with all CRUD endpoints, parameters, request bodies, and error response schemas.
2. Relational MySQL Database schema with proper indexing, primary keys, foreign keys, and cascading rules.
3. Clean idiomatic backend controller code in [PHP 8.2 / Node.js] using best practices (DTOs, Repository pattern, and Input Validation).
4. Security checklist: CORS configuration, JWT authentication middleware, and Rate Limiting parameters.
Comments (0)
No comments yet. Be the first to share your result!