Submit AI Tools - Directory
Coding claude-3.5-opus ⭐ Featured

Node.js REST API: Production-Ready Code v2

Generate a complete, production-ready Node.js REST API with JWT authentication, OpenAPI, and Docker. Get scalable, secure code now!

9.3

Performance Score

2,803ms response time
49 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 Node.js with Express that implements JWT authentication.

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.

BONUS: Add troubleshooting section and common pitfalls to avoid.

NOTE: Focus on scalability, security, and best practices throughout.

COMPLEXITY: This should be an advanced, enterprise-grade solution. [Ref: dbbf8b6c]

Tags

best practices setup production-ready openapi
Share: