Go REST API: Production-Ready Code
Generate a production-ready REST API with Go and Gin. Includes auth, logging, tests, and OpenAPI docs. Get scalable, secure code now!
9.9
Performance Score
2,580ms response time
94 views
0 copies
Last tested: 5 months ago
The Prompt
You are an cloud solutions architect. Create a production-ready REST API with OpenAPI using Go with Gin that implements comprehensive logging. REQUIREMENTS: 1. Complete implementation with all necessary files 2. Proper project structure following best practices 3. Database models and migrations (if applicable) 4. Authentication and authorization 5. Input validation and sanitization 6. Error handling with proper HTTP status codes 7. Logging and monitoring setup 8. Unit and integration tests 9. API documentation (OpenAPI/Swagger) 10. Environment configuration 11. Docker setup 12. Deployment instructions DELIVERABLES: - Complete source code - Database schema - Test suite - API documentation - README with setup guide - Docker configuration - CI/CD pipeline Generate comprehensive, production-ready code following industry standards and best practices. NOTE: Focus on scalability, security, and best practices throughout. ENHANCEMENT: Add real-world examples and case studies. [Ref: 950d3db6]
Tags
best
practices
setup
production-ready
openapi
Related Prompts
Design
9.9
Enterprise Mobile App Wireframe Design Guide
Act as a UI specialist. Create a wireframe specifications for a mobile app with focus on enterprise scalability. Include...
152
0
claude-4-sonnet
Coding
9.9
PHP Laravel Data Migration with Payment Processing
You are an expert software developer. Create a data migration using PHP Laravel that implements payment processing. Incl...
244
4
gemini-3.0-plus
Coding
9.9
Microservices SaaS Architecture: Code & Deploy v3
You are a senior software architect specializing in microservices. Design and implement a complete SaaS platform using m...
158
0
claude-4-sonnet
Coding
9.9
Generate Full-Stack CRM App with AI v5
You are an expert full-stack architect. Generate a complete, production-ready customer relationship manager application...
134
0
claude-4.5-sonnet