awesome-cli-frameworks
graphql-code-generator
awesome-cli-frameworks | graphql-code-generator | |
---|---|---|
4 | 69 | |
522 | 10,632 | |
- | - | |
7.5 | 9.1 | |
3 months ago | 7 days ago | |
HTML | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
awesome-cli-frameworks
-
Harlequin: SQL IDE for Your Terminal
I like this one for .NET https://github.com/spectreconsole/spectre.console which I found in this list https://github.com/shadawck/awesome-cli-frameworks.
-
Build Your Own CLI App in 5 Minutes (ClackJS + Node + NPM Tutorial)
Done! But before you start this project for yourself, take into consideration that Clack is really lacking in the documentation. Anything fairly complex, you wonβt benefit from the pre-made components of clack/prompts. Here's a list of other CLI frameworks you can use instead.
-
Ask HN: Simple framework/way to create command-line apps?
Oclif was one I used a while back but, last I tried it (a couple of months ago), there were either technical or documentation issues that made it a challenge to get started. It sounded like they were in the middle of fixes though so that might be worth a look. Combined with a solid HTTP package like axios, that would be a good leg up if you are proficient in JS.
Good list of options here:
https://github.com/shadawck/awesome-cli-frameworks
-
Don't make me think, or why I switched to Rails from JavaScript SPAs
Thor looks great! I'd be surprised if something similar didn't exist for most languages, but with many of them living in obscurity because discovery is so hard without a well-established name for that class of tool. Some googling for "CLI framework" led me to oclif ("Thor for js"?) and to https://www.nexmo.com/legacy-blog/2020/06/12/comparing-cli-b... , but that can't be everything.
PS: https://github.com/shadawck/awesome-cli-frameworks also lists some for go and rust, getting there! (though most probably not half as complete as Thor, self-documentation should definitely be a first-class citizen!)
graphql-code-generator
-
Integrating GraphQL Codegen with Storyblok: Step-by-Step Guide
The @graphql-codegen library is a bridge between your GraphQL schema and the actual code you write. It automates the generation of boilerplate code, ensuring that your data fetching layer is always up to date with your content structure.
-
The complete GraphQL Scalar Guide
In typescript and typescript-resolvers plugin v4.0.1, we have reverted the default ID Scalar input type to string. Read the pull request for more details.
-
Looking4Library: A GraphQL client that has query methods on the generated types
See https://github.com/dotansimha/graphql-code-generator with @graphql-codegen/typescript-graphql-request plugin
-
graphql-code-generator VS gqless - a user suggested alternative
2 projects | 2 Jun 2023
-
Making GraphQL Codegen Work For You: GraphQL Integration with React and TypeScript
Graphql Codegen is a code generation library for GraphQL that enables developers to generate custom code. It provides us developers with the ability to generate type definitions, query builders, documentation, and more by analyzing our GraphQL schemas. This makes it easier and faster to build GraphQL applications and reduces the time spent coding.
-
help wanted: Typescript GraphQL Types Response
It is already incoming, with an example in the repository. π https://github.com/dotansimha/graphql-code-generator/pull/8863
-
Why does this package.json script for graphql-codegen only work if the package is installed directly in the package.sjon, even if it already exists in node_modules?
The actual package is @ graphql-codegen/cli
-
Why we ditched GraphQL for tRPC
GraphQL Codegen generates frontend types and React hooks from our GraphQL request definitions.
-
A journey towards a type-safe GraphQL API server
There are two main approaches to keeping the types of the GraphQL schema and entities in business logic in sync. You can generate the schema based on your TypeScript code (e.g. TypeGraphQL), or you can generate types based on your schema (e.g. GraphQL Code Generator). We opted for the latter since it slotted right into our existing GraphQL server implementation using Apollo Server.
-
Move to Hasura/GraphQL for db
For querying in React make sure you use GraphQL code generator https://www.the-guild.dev/graphql/codegen
What are some alternatives?
openapi-typescript-codegen - NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification
nexus - Code-First, Type-Safe, GraphQL Schema Construction
restish - Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in
contentful-typescript-codegen - Generate TypeScript interfaces from a Contentful environment
awesome-resources - :sunglasses: List of helpful resources added by the community for the community!
TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
calendar - What's Upcoming in 2023? - A collection of awesome ruby conferences & camps from around the world - Add your ruby conference or camp!
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
awesome-django - The original Awesome Django project. Permission granted by the original author. Now under new management! :)
rtk-query-codegen
openapi-cli-generator - Generate a CLI from an OpenAPI 3 specification
lint-staged - π«π© β Run linters on git staged files