Standalone build #7544
-
Is there a way to build a standalone apollo-server than I can upload to my hosting server and just run with node.js without having to import the source code? I successfully made a standalone of the frontend app with Next.js, but I'm struggling with the backend apollo-server. Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I don't quite follow the question, what do you mean by
Do you mean that you don't want to ship the Apollo Server source If that's not what you're asking I'll need a bit more clarity to understand what you're trying to do / what you're struggling to accomplish. |
Beta Was this translation helpful? Give feedback.
Can you build your Apollo Server endpoint into your next app and get the desired outcome? There's an existing community integration for running Apollo Server in a Next app.
I'm almost certain you're asking for a bundler. We don't offer a ready to go solution for that, but it shouldn't be too hard to get one running against your project in short time. This is most common for serverless applications where bundle size is important.