dotansimha / graphql-yoga

🧘 Rewrite of a fully-featured GraphQL Server with focus on easy setup, performance & great developer experience. The core of Yoga implements WHATWG Fetch API and can run/deploy on any JS environment.
https://the-guild.dev/graphql/yoga-server
MIT License
8.23k stars 565 forks source link

`npx` command for creating templates bootstrap like Next.js `create-yoga` #1354

Open Urigo opened 2 years ago

Urigo commented 2 years ago

Similar to create-next-app (maybe we can even use/fork/contribute to their code) we want to create a CLI package which can be used to bootstrap a Yoga app. It should allow bootstrapping different ways yoga can be used.

Examples

Options

---template=: default these are all the integrations GraphQL Yoga supports. Basically we can point this to our examples we have in this repo to bootstrap. So the folder name in that directory become the name for template flag. If you give a GitHub repo or path then it will bootstrap from that

b4s36t4 commented 2 years ago

Hey, @Urigo . Want to work on this issue. Is there any document more on this issue to get a good idea on this.?

Thanks.

saihaj commented 2 years ago

hey @b4s36t4 I have update the description for this issue. Let me know if something needs clarification or if you have any questions.

n1ru4l commented 1 year ago

another inspiration: https://reddit.com/r/graphql/s/ItUaesAfZT