DeepSeek V3 Backend API Development Rules — DeepSeek Rules | Neura Market
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityTrendingGenerate
    DeepSeekRulesDeepSeek V3 Backend API Development Rules
    Back to Rules
    Development

    DeepSeek V3 Backend API Development Rules

    Neura Market April 24, 2026
    0 copies 0 downloads

    System rules for using DeepSeek V3 to develop backend APIs with Node.js/Express or Python/FastAPI, covering security, validation, error handling, and documentation.

    Rule Content
    # DeepSeek V3 Backend API Development Rules
    
    ## API Design Standards
    - RESTful conventions: nouns for resources, HTTP verbs for actions
    - Versioning: /api/v1/ prefix for all endpoints
    - Response format: { success: boolean, data?: T, error?: { code: string, message: string } }
    - Pagination: deepseek-based for large datasets, offset for small ones
    - Rate limiting: include X-RateLimit-* headers in responses
    
    ## Security Rules (NON-NEGOTIABLE)
    1. NEVER trust client input — validate and sanitize everything
    2. Use parameterized queries for ALL database operations (no string concatenation)
    3. Hash passwords with bcrypt (cost factor >= 12) or argon2
    4. JWTs: short expiry (15min access, 7d refresh), rotate signing keys quarterly
    5. CORS: whitelist specific origins, never use wildcard (*) in production
    6. HTTPS only — set HSTS header
    7. No sensitive data in URL parameters or logs
    
    ## Error Handling
    - Custom error classes extending Error with status code and error code
    - Global error handler middleware as last middleware in chain
    - Log errors with structured logging (JSON format with request ID)
    - Never expose stack traces or internal details in production responses
    - Return appropriate HTTP status codes (400 for client, 500 for server errors)
    
    ## Database Rules
    - Use migrations for ALL schema changes (never manual DDL in production)
    - Foreign keys with proper ON DELETE actions
    - Indexes on all columns used in WHERE, JOIN, and ORDER BY
    - Connection pooling with proper min/max settings
    - Query timeout limits to prevent long-running queries
    
    ## Documentation
    - OpenAPI 3.1 spec for all endpoints
    - Include request/response examples
    - Document authentication requirements per endpoint
    - List all possible error codes and their meanings

    Tags

    backendapinodejssecurityrest

    Comments

    More Rules

    View all
    Architecture

    Claude Coder Microservices Communication Rules

    System rules for designing inter-service communication in microservices architectures with DeepSeek Coder, covering sync/async patterns, error handling, and resilience.

    N
    Neura Market
    Content

    DeepSeek V3 Multilingual Content Generation Rules

    System rules for generating content in multiple languages with DeepSeek V3, covering translation quality, cultural adaptation, locale-specific formatting, and quality assurance.

    N
    Neura Market
    Development

    DeepSeek R1 Code Refactoring Safety Rules

    System rules for safe code refactoring with DeepSeek R1, requiring test coverage verification, incremental changes, and behavior preservation checks.

    N
    Neura Market
    Documentation

    DeepSeek V3 Technical Documentation Writer Rules

    System rules for using DeepSeek V3 to generate clear, maintainable technical documentation including API docs, architecture docs, and onboarding guides.

    N
    Neura Market
    Database

    Claude Coder Database Query Optimization Rules

    System rules for DeepSeek Coder to generate optimized database queries, with requirements for EXPLAIN analysis, indexing recommendations, and performance targets.

    N
    Neura Market
    DevOps

    DeepSeek V3 DevOps and Infrastructure Rules

    System rules for using DeepSeek V3 to generate infrastructure code, CI/CD pipelines, and operational runbooks with security and reliability best practices.

    N
    Neura Market

    Stay up to date

    Get the latest DeepSeek prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for DeepSeek and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.