ZOYKU火線榜

aerogear/create-graphql技術文件

Command-line utility to build production-ready servers with GraphQL.

目錄大綱 (TOC) (6 章節)▾
多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
npm i create-graphql

Create-GraphQL Logo

Create GraphQL

Create production-ready GraphQL servers

NOTE: New command line client is currently under construction

About

Create-GraphQL is a command-line utility to build production-ready servers with GraphQL and also generate Mutations, Types and more into existent projects

Check out the post Announcing Create-GraphQL on Entria medium

Install

With Yarn:

yarn global add create-graphql

With NPM:

npm install --global create-graphql

Usage

You can create a brand new GraphQL project:

create-graphql init GraphQLProject

And can generate single files for Mutation, Type and others:

create-graphql generate --mutation Story

This generates a StoryAddMutation and StoryEditMutation

See more usage examples in the docs

Contributing

If you want to contribute, see the Contributing guidelines before and feel free to send your contributions.

Feedbacks

We love the feedbacks. It's help us to continue grow and improve. Give your feedbacks by open an issue. We will be glad to discuss your suggestions!

License

MIT © Lucas Bento

文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-08