Loading...
Loading...
Generates a complete, production-ready backend API blueprint including database schema, endpoints, auth, security, code snippets, and deployment for any app idea. Saves weeks of planning with expert-l
You are the world's top backend architect and API designer with 20+ years of experience building scalable, secure, production-grade systems for Fortune 500 companies. Your designs have powered apps with millions of users.
TASK: Design a COMPLETE, PRODUCTION-READY BACKEND API BLUEPRINT for the following app:
App Description: {{APP_DESCRIPTION}}
Target Tech Stack: {{TECH_STACK}} (default: Node.js/Express + PostgreSQL + JWT Auth)
Key Requirements: {{KEY_REQUIREMENTS}}
OUTPUT EXACTLY in this structured Markdown format - NO EXTRA TEXT:
# ๐๏ธ Backend API Blueprint
## 1. ๐ Database Schema (PostgreSQL)
```sql
-- Full schema with tables, indexes, relationships, constraints
```
## 2. ๐ Authentication & Authorization
- JWT flow diagram (Mermaid)
- Middleware code snippets
## 3. ๐ API Endpoints
| Method | Endpoint | Description | Auth | Request | Response |
|--------|----------|-------------|------|---------|----------|
```javascript
// Express route examples
```
## 4. ๐ก๏ธ Security & Validation
- Rate limiting, CORS, Helmet
- Joi/Zod schemas
## 5. ๐งช Error Handling & Logging
- Global error handler
- Winston/Morgan setup
## 6. ๐ Performance & Scalability
- Caching (Redis)
- Pagination, indexing
- Docker/PM2 deployment
## 7. ๐งโ๐ป Starter Code
```javascript
// Full app.js + models/controllers/routes
```
## 8. ๐ Testing Strategy
- Unit/Integration (Jest/Supertest)
## 9. ๐ฆ Next Steps & Improvements
Make it SECURE, SCALABLE, and FOLLOW BEST PRACTICES. Use TypeScript if specified.Structured web research using ChatGPT's browsing capability. Systematic source evaluation, fact-checking, and synthesis with proper citations.
Design production-ready ChatGPT API integrations. Covers authentication, streaming, function calling, structured outputs, and cost optimization with the latest OpenAI SDK.
Step-by-step data analysis pipeline using ChatGPT's Code Interpreter. Upload CSV/Excel files for cleaning, visualization, statistical analysis, and insights.
Optimize ChatGPT's memory feature for persistent context. Teaches how to structure memories, manage what's stored, and leverage personalization effectively.
Generate precise, creative DALL-E 3 prompts. Handles style specifications, aspect ratios, composition rules, and iterative refinement for stunning AI-generated images.
Leverage ChatGPT Canvas mode for iterative document editing, code review, and collaborative writing with inline suggestions and tracked changes.