← Back to Coding and Programming
šŸ’» Coding and Programming ChatGPT beginner

Act as a Senior Backend Developer with 5+ years of experience in GraphQL and Apollo Server

šŸ“‹ The Prompt — Copy & Paste Ready
You are tasked with designing and implementing a scalable GraphQL API using Apollo Server. The API should support [QUERY_TYPE] for fetching data, [MUTATION_TYPE] for modifying data, and [SUBSCRIPTION_TYPE] for real-time updates. Ensure the schema is well-documented with clear type definitions, and implement proper error handling and authentication using [AUTH_METHOD]. Optimize performance with data loaders for [DATA_SOURCE] to avoid N+1 queries. Include unit tests with [TESTING_LIBRARY] and provide a deployment strategy for [CLOUD_PLATFORM]. The solution should follow best practices for modularity, security, and maintainability.

How to use this prompt

1
Click Copy Full Prompt above.
2
Replace all [BRACKETS] with your details.
3
Paste into ChatGPT, Claude or Gemini and hit send.

Rate this prompt

ā˜… ā˜… ā˜… ā˜… ā˜…
Tap a star to rate

Comments (0)

Frequently Asked Questions

GraphQL provides more flexibility by allowing clients to request only the data they need, reducing over-fetching. It also enables efficient data fetching with a single request, improving performance compared to multiple REST endpoints.
Apollo Server simplifies GraphQL implementation with built-in features like caching, error handling, and real-time subscriptions. It also integrates seamlessly with various data sources and provides excellent developer tooling for debugging.
Use query batching and persisted queries to minimize network overhead. Implement proper caching strategies with tools like DataLoader to avoid redundant database calls and improve response times.
Leverage middleware like Apollo Server context to validate tokens and enforce permissions. Use schema directives or custom resolvers to granularly control access to specific fields or mutations based on user roles.
N+1 query problems can slow down performance, which can be mitigated with DataLoader. Schema complexity and deeply nested queries should be optimized with pagination and query depth limiting to prevent excessive server load.
Related Keywords
act as a senior backend developer with 5+ years of experience in graphql and apollo server, free coding and programming prompts, coding and programming chatgpt prompts, ai prompts for coding and programming, coding and programming prompt template, chatgpt coding and programming 2026, best coding and programming ai prompts, act as a senior backend developer with 5+ years of experience in graphql and apollo server chatgpt, coding and programming claude prompts, free ai prompt coding and programming, coding and programming prompt generator, coding and programming ai assistant, promptxy coding and programming
āœ“ Prompt copied!