[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"workflow-asset-8b5c8fb0":3,"seo:featured-workflow:8b5c8fb0-4d77-11f1-9bc6-00163e2b0d79:zh":86,"workflow-related-asset-8b5c8fb0-8b5c8fb0-4d77-11f1-9bc6-00163e2b0d79":87},{"id":4,"uuid":5,"slug":6,"title":7,"description":8,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":13,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":15,"tags":22,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":29,"asset_kind":30,"target_tools":31,"install_mode":35,"entrypoint":19,"risk_profile":36,"dependencies":38,"verification":45,"agent_metadata":48,"agent_fit":61,"trust":73,"provenance":82,"created_at":84,"updated_at":85},3124,"8b5c8fb0-4d77-11f1-9bc6-00163e2b0d79","asset-8b5c8fb0","Apollo Server — Production GraphQL Server for Node.js","Apollo Server is an open-source, spec-compliant GraphQL server that works with any Node.js HTTP framework. It provides schema-first development, built-in caching, federation support for microservices, and integrations with Express, Fastify, Koa, and serverless platforms.","8a911193-3180-11f1-9bc6-00163e2b0d79","AI Open Source","",0,11,"en",[16],{"id":17,"step_order":18,"title":19,"description":11,"prompt_template":20,"variables":11,"depends_on":21,"expected_output":11},3687,1,"Apollo Server GraphQL","# Apollo Server — Production GraphQL Server for Node.js\n\n## Quick Use\n```bash\nnpm install @apollo\u002Fserver graphql\n```\n```js\nimport { ApolloServer } from '@apollo\u002Fserver';\nimport { startStandaloneServer } from '@apollo\u002Fserver\u002Fstandalone';\nconst server = new ApolloServer({ typeDefs, resolvers });\nconst { url } = await startStandaloneServer(server, { listen: { port: 4000 } });\n```\n\n## Introduction\nApollo Server is a community-driven, open-source GraphQL server for Node.js. It simplifies building a production-ready GraphQL API by providing schema definition, resolver wiring, error handling, and performance monitoring out of the box. It works as a standalone server or as middleware in existing HTTP frameworks.\n\n## What Apollo Server Does\n- Serves a GraphQL API from type definitions and resolver functions\n- Supports incremental adoption via Express, Fastify, Koa, and Lambda integrations\n- Implements Apollo Federation for composing multiple GraphQL services into one graph\n- Provides automatic persisted queries and response caching plugins\n- Includes built-in landing page with Apollo Sandbox for testing queries\n\n## Architecture Overview\nApollo Server parses your SDL schema and resolver map at startup, building an executable schema using graphql-js. Incoming HTTP requests are parsed, validated against the schema, and executed through the resolver tree. A plugin system hooks into the request lifecycle for logging, caching, tracing, and error formatting. In federated setups, Apollo Router sits in front and delegates subqueries to individual Apollo Server subgraph instances.\n\n## Self-Hosting & Configuration\n- Install via npm or yarn alongside the graphql peer dependency\n- Use `startStandaloneServer` for quick setup or integrate as middleware with `expressMiddleware`\n- Configure CORS, body parser limits, and request batching in server options\n- Add plugins for cache control, usage reporting, and inline tracing\n- Deploy on any Node.js host, container, or serverless platform like AWS Lambda\n\n## Key Features\n- Full GraphQL spec compliance including subscriptions via WebSocket\n- Plugin architecture for lifecycle hooks: request parsing, validation, execution, response\n- Built-in Apollo Sandbox as an in-browser IDE for exploring the API\n- First-class TypeScript support with type-safe context and resolver signatures\n- Federation-ready with support for @key, @requires, and @external directives\n\n## Comparison with Similar Tools\n- **Express GraphQL** — Minimal middleware; Apollo Server adds caching, federation, and plugins\n- **Mercurius** — Fastify-native GraphQL server; lighter but fewer ecosystem integrations\n- **Yoga** — Envelop-based server from The Guild; more modular plugin system\n- **Hasura** — Auto-generates GraphQL from Postgres; Apollo Server requires hand-written resolvers\n- **PostGraphile** — Database-driven GraphQL; Apollo Server is framework-agnostic\n\n## FAQ\n**Q: Does Apollo Server require Apollo Studio?**\nA: No. Apollo Server is fully open source and works standalone. Apollo Studio is an optional paid service for schema registry and metrics.\n\n**Q: Can I use Apollo Server with TypeScript?**\nA: Yes. Apollo Server 4 is written in TypeScript and provides full type safety for resolvers and context.\n\n**Q: How does federation work?**\nA: Each service defines a subgraph schema. Apollo Router composes them into a supergraph and routes incoming queries to the appropriate subgraphs at runtime.\n\n**Q: Is Apollo Server suitable for serverless?**\nA: Yes. Apollo Server 4 supports AWS Lambda, Google Cloud Functions, and Azure Functions via lightweight integrations.\n\n## Sources\n- https:\u002F\u002Fgithub.com\u002Fapollographql\u002Fapollo-server\n- https:\u002F\u002Fwww.apollographql.com\u002Fdocs\u002Fapollo-server\u002F","0",[23],{"id":24,"name":25,"slug":26,"icon":27},12,"Configs","config","⚙️",false,"0b4801b228b858e8f8a8eb7645e1ddbe672205083ad7eace40f8163ed2b1a574","skill",[32,33,34],"claude_code","codex","gemini_cli","single",{"executes_code":28,"modifies_global_config":28,"requires_secrets":37,"uses_absolute_paths":28,"network_access":28},[],{"npm":39,"pip":42,"brew":43,"system":44},[40,41],"@apollo\u002Fserver","graphql",[],[],[],{"commands":46,"expected_files":47},[],[19],{"asset_kind":30,"target_tools":49,"install_mode":35,"entrypoint":19,"risk_profile":50,"dependencies":52,"content_hash":29,"verification":57,"inferred":60},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":51,"uses_absolute_paths":28,"network_access":28},[],{"npm":53,"pip":54,"brew":55,"system":56},[40,41],[],[],[],{"commands":58,"expected_files":59},[],[19],true,{"target":33,"score":62,"status":63,"policy":64,"why":65,"asset_kind":30,"install_mode":35},98,"native","allow",[66,67,68,69,70,71,72],"target_tools includes codex","asset_kind skill","install_mode single","markdown-only","policy allow","safe markdown-only Codex install","trust established",{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":29,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":76,"review_status":77,"signals":78},"established","hash_only",[],"unreviewed",[79,80,81],"author has published assets","content hash available","no dangerous capability badges",{"owner_uuid":9,"owner_name":10,"source_url":83,"content_hash":29,"visibility":18,"created_at":84,"updated_at":85},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fasset-8b5c8fb0","2026-05-12 04:25:25","2026-05-12 11:26:07",null,[88,140,188,240],{"id":89,"uuid":90,"slug":91,"title":92,"description":93,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":94,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":95,"tags":96,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":98,"asset_kind":30,"target_tools":99,"install_mode":35,"entrypoint":100,"risk_profile":101,"dependencies":103,"verification":108,"agent_metadata":111,"agent_fit":123,"trust":125,"provenance":128,"created_at":130,"updated_at":131,"__relatedScore":132,"__relatedReasons":133,"__sharedTags":138},2051,"3a5f82e0-3fb6-11f1-9bc6-00163e2b0d79","koa-expressive-middleware-framework-node-js-3a5f82e0","Koa — Expressive Middleware Framework for Node.js","Koa is a web framework for Node.js designed by the team behind Express. It uses async\u002Fawait natively for cleaner middleware composition and a smaller, more expressive core.",65,[],[97],{"id":24,"name":25,"slug":26,"icon":27},"0a5cced47b6f1c8236c98d5b36b089ea73f53abe3b4c081b714003374277ff70",[32,33,34],"Koa Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":102,"uses_absolute_paths":28,"network_access":28},[],{"npm":104,"pip":105,"brew":106,"system":107},[],[],[],[],{"commands":109,"expected_files":110},[],[100],{"asset_kind":30,"target_tools":112,"install_mode":35,"entrypoint":100,"risk_profile":113,"dependencies":115,"content_hash":98,"verification":120},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":114,"uses_absolute_paths":28,"network_access":28},[],{"npm":116,"pip":117,"brew":118,"system":119},[],[],[],[],{"commands":121,"expected_files":122},[],[100],{"target":33,"score":62,"status":63,"policy":64,"why":124,"asset_kind":30,"install_mode":35},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":98,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":126,"review_status":77,"signals":127},[],[79,80,81],{"owner_uuid":9,"owner_name":10,"source_url":129,"content_hash":98,"visibility":18,"created_at":130,"updated_at":131},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fkoa-expressive-middleware-framework-node-js-3a5f82e0","2026-04-24 16:18:52","2026-05-12 10:39:21",114.72931590331281,[134,135,136,137],"topic-match","same-kind","same-target","same-author",[26,139],"configs",{"id":141,"uuid":142,"slug":143,"title":144,"description":145,"author_id":9,"author_name":10,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":146,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":147,"tags":148,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":150,"asset_kind":30,"target_tools":151,"install_mode":35,"entrypoint":152,"risk_profile":153,"dependencies":155,"verification":160,"agent_metadata":163,"agent_fit":175,"trust":177,"provenance":181,"created_at":183,"updated_at":184,"__relatedScore":185,"__relatedReasons":186,"__sharedTags":187},2387,"d45b36a6-442b-11f1-9bc6-00163e2b0d79","gunicorn-python-wsgi-http-server-production-d45b36a6","Gunicorn — Python WSGI HTTP Server for Production","Gunicorn is a pre-fork WSGI HTTP server for Python web applications that provides a simple, reliable way to serve Django, Flask, and other WSGI frameworks in production.",101,[],[149],{"id":24,"name":25,"slug":26,"icon":27},"7345e350bd69e672275e0113aeb0b920985ed2c3af1f4cd4b9cc64d1f1be3030",[32,33,34],"Gunicorn Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":154,"uses_absolute_paths":28,"network_access":28},[],{"npm":156,"pip":157,"brew":158,"system":159},[],[],[],[],{"commands":161,"expected_files":162},[],[152],{"asset_kind":30,"target_tools":164,"install_mode":35,"entrypoint":152,"risk_profile":165,"dependencies":167,"content_hash":150,"verification":172},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":166,"uses_absolute_paths":28,"network_access":28},[],{"npm":168,"pip":169,"brew":170,"system":171},[],[],[],[],{"commands":173,"expected_files":174},[],[152],{"target":33,"score":62,"status":63,"policy":64,"why":176,"asset_kind":30,"install_mode":35},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":150,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":178,"review_status":77,"signals":179},[],[180,79,80,81],"asset has usage views",{"owner_uuid":9,"owner_name":10,"source_url":182,"content_hash":150,"visibility":18,"created_at":183,"updated_at":184},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fgunicorn-python-wsgi-http-server-production-d45b36a6","2026-04-30 08:30:46","2026-05-12 10:31:32",109.01290025764288,[134,135,136,137],[26,139],{"id":189,"uuid":190,"slug":191,"title":192,"description":193,"author_id":194,"author_name":195,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":196,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":197,"tags":198,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":203,"asset_kind":30,"target_tools":204,"install_mode":35,"entrypoint":205,"risk_profile":206,"dependencies":208,"verification":213,"agent_metadata":216,"agent_fit":228,"trust":230,"provenance":233,"created_at":235,"updated_at":236,"__relatedScore":237,"__relatedReasons":238,"__sharedTags":239},2192,"3ceacfeb-41af-11f1-9bc6-00163e2b0d79","nock-http-server-mocking-expectations-node-js-3ceacfeb","Nock — HTTP Server Mocking and Expectations for Node.js","HTTP server mocking and expectations library for Node.js that intercepts outgoing requests for deterministic API testing.","8a910e34-3180-11f1-9bc6-00163e2b0d79","Script Depot",87,[],[199],{"id":13,"name":200,"slug":201,"icon":202},"Scripts","script","📜","72bb3c1894df48eab04a9649314ca852aa64e0b3debac8800af52deb237ba285",[32,33,34],"Nock Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":207,"uses_absolute_paths":28,"network_access":28},[],{"npm":209,"pip":210,"brew":211,"system":212},[],[],[],[],{"commands":214,"expected_files":215},[],[205],{"asset_kind":30,"target_tools":217,"install_mode":35,"entrypoint":205,"risk_profile":218,"dependencies":220,"content_hash":203,"verification":225},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":219,"uses_absolute_paths":28,"network_access":28},[],{"npm":221,"pip":222,"brew":223,"system":224},[],[],[],[],{"commands":226,"expected_files":227},[],[205],{"target":33,"score":62,"status":63,"policy":64,"why":229,"asset_kind":30,"install_mode":35},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":203,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":231,"review_status":77,"signals":232},[],[79,80,81],{"owner_uuid":194,"owner_name":195,"source_url":234,"content_hash":203,"visibility":18,"created_at":235,"updated_at":236},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fnock-http-server-mocking-expectations-node-js-3ceacfeb","2026-04-27 04:33:52","2026-05-12 10:39:20",105.91672400822526,[134,135,136],[],{"id":241,"uuid":242,"slug":243,"title":244,"description":245,"author_id":194,"author_name":195,"author_avatar":11,"token_estimate":12,"time_saved":12,"model_used":11,"fork_count":12,"vote_count":12,"view_count":246,"parent_id":12,"parent_uuid":11,"lang_type":14,"steps":247,"tags":248,"has_voted":28,"visibility":18,"share_token":11,"is_featured":12,"content_hash":250,"asset_kind":30,"target_tools":251,"install_mode":35,"entrypoint":252,"risk_profile":253,"dependencies":255,"verification":260,"agent_metadata":263,"agent_fit":275,"trust":277,"provenance":280,"created_at":282,"updated_at":283,"__relatedScore":284,"__relatedReasons":285,"__sharedTags":286},2130,"c7b1ccab-40e3-11f1-9bc6-00163e2b0d79","pm2-production-process-manager-node-js-c7b1ccab","PM2 — Production Process Manager for Node.js","PM2 is a daemon-based process manager for Node.js applications with built-in load balancing, log management, and zero-downtime reloads.",63,[],[249],{"id":13,"name":200,"slug":201,"icon":202},"1be97d6e8eea0fd3ea9276ec0b3e09a19474aa2c842263d11efb879ab3ab491d",[32,33,34],"PM2 Overview",{"executes_code":28,"modifies_global_config":28,"requires_secrets":254,"uses_absolute_paths":28,"network_access":28},[],{"npm":256,"pip":257,"brew":258,"system":259},[],[],[],[],{"commands":261,"expected_files":262},[],[252],{"asset_kind":30,"target_tools":264,"install_mode":35,"entrypoint":252,"risk_profile":265,"dependencies":267,"content_hash":250,"verification":272},[32,33,34],{"executes_code":28,"modifies_global_config":28,"requires_secrets":266,"uses_absolute_paths":28,"network_access":28},[],{"npm":268,"pip":269,"brew":270,"system":271},[],[],[],[],{"commands":273,"expected_files":274},[],[252],{"target":33,"score":62,"status":63,"policy":64,"why":276,"asset_kind":30,"install_mode":35},[66,67,68,69,70,71,72],{"author_trust_level":74,"verified_publisher":28,"asset_signed_hash":250,"signature_status":75,"install_count":12,"report_count":12,"dangerous_capability_badges":278,"review_status":77,"signals":279},[],[79,80,81],{"owner_uuid":194,"owner_name":195,"source_url":281,"content_hash":250,"visibility":18,"created_at":282,"updated_at":283},"https:\u002F\u002Ftokrepo.com\u002Fen\u002Fworkflows\u002Fpm2-production-process-manager-node-js-c7b1ccab","2026-04-26 04:17:27","2026-05-12 10:38:42",99.70926996097583,[134,135,136],[]]