CodingExpert4.2
GraphQL Schema Design
5.8Klikes1.9Ksaves13.4Kuses
graphql guide
Compatible Platforms
💬GPT-4o🤖Claude 3.5 Sonnet🌐Cursor🌐GitHub Copilot
Tags
graphql
The Prompt
Design a GraphQL schema for a social media platform: User, Post, Comment, Like, Follow, and Message types with proper relationships. Include pagination (cursor-based), filtering, sorting, authentication directives, and subscription types for real-time updates. Write resolvers with DataLoader for N+1 prevention and comprehensive tests
Share this Prompt
How to Use This Prompt
- 1
Copy the Prompt
Click the "Copy Prompt" button above to copy the full prompt text to your clipboard.
- 2
Open Your AI Platform
Go to one of the compatible platforms: GPT-4o, Claude 3.5 Sonnet, Cursor, or 1 more.
- 3
Paste & Generate
Paste the prompt into the AI tool and enjoy the results. Tweak as needed for your specific use case.
Related Prompts
Coding5
Wasm Rust WebAssembly
Build WebAssembly modules with Rust
View prompt
Coding5
Deno Modern Runtime App
Build applications with Deno runtime
View prompt
Coding5
Python FastAPI WebSocket
Add WebSocket support to FastAPI
View prompt
Coding5
Vue 3 Composition API
vue development guide
View prompt
Coding5
Next.js 16 Server Actions - Cookbook
nextjs development guide
View prompt
Coding5
React Testing Library Patterns - Cookbook
react development guide
View prompt