ReactTemplate
openapi-generator-cli
ReactTemplate | openapi-generator-cli | |
---|---|---|
51 | 8 | |
195 | 1,290 | |
- | 2.6% | |
5.3 | 8.1 | |
21 days ago | 3 days ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
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.
ReactTemplate
-
Suggestions needed to replace React-Scripts
I've never found CRA makes project management any easier (aside from the first few days after setting up a new project). In the long run it's always been a pain as it prevents you from touching most of the config. Personally I use this ReactTemplate which uses many of the same tools as CRA but with everything exposed and much more sensible defaults so it's easy to configure for whatever you want and nothing is forced upon you.
-
Why the negativity towards Webpack?
Most people have only ever used Webpack via CRA which is a terribly optimized config. If you design your own Webpack config it can be so fast that you won't notice it. (Example)
-
I am converting my js files to ts, need feedback if I am doing things as I am supposed to.
I recommend setting up tsconfig with strict mode enabled and ESLint and TypeScript ESLint rules to be fairly strict. This is a great way to learn with guard rails as it'll slap you when you try to do something which is unsafe or too loosely typed. Here's a reference ESLint config that is frequently updated with any newly released rules that fit well. This happens to be for a TypeScript React project, but you can always trim out the rules from plugins that aren't relevant for you.
-
React SetUp Question
Don't forget ESLint. Arguably more important than many of those other things for fixing the common mistakes that most developers make. And note that the recommended ESLint configs are incredibly conservative so you probably want to customize the rules to get much higher quality. An example of one of my recommended React/TypeScript ESLint configs.
-
What is this called and how do I add it?
And then I have a ton of code-level tools and configs that I use all the time. Many of which are in this React Template if you want to pick through it. There's code spellcheckers, dependency update checkers, extensive linting configs and more.
-
Self-taught Front-End developer project in need of review
If you want a reference, take a look at this eslint config for some good rules to use.
-
Does CRA + Typescript get pretty slow for anyone?
If you want a reference, this ReactTemplate is very simple and in many cases can be used as a drop-in for CRA.
-
Moving an app away from create-react-app
No reason to go overkill with a metaframework. All you need is a new build config. That's all CRA is, a collection of configuration files. I choose to just configure what I need myself so I have control over it and can easily customize it and get all of the features and performance that I want if I want it. The content of your app shouldn't need to change just because your build process changes. (If you want a reference, here's the React Template I start with.)
-
Can any one audit my .eslintrc? React + TS + Vite + Jest + Airbnb
Yeah here's the config from my open source React Template: https://github.com/CreativeTechGuy/ReactTemplate/blob/main/.eslintrc.js
-
[AskJS] What has been your moment that made you decide to make a template for your <JS framework> projects?
PS: If you are curious, this is my React Template that I was describing above.
openapi-generator-cli
-
Generate DTO models from OpenAPI bundle yml
Hi, I want to create my dto's from a bundle file. This works nearly good, I just don't need all the functions which I am getting. I only need the model structs. I am currently using https://github.com/OpenAPITools/openapi-generator-cli via docker and I am passing the bundle.yml inside. I have the following parameter to only get model files:
-
OpenAPI - API documentation standard - Boon for the software engineers
You can generate boilerplate code stubs with OpenAPI spec. Yes! you heard it right! you only need to write the business logic thatโs all, everything will be generated for you. There are so many generators available for every programming language. Find it here https://openapi-generator.tech. GitHub repo for the same https://github.com/OpenAPITools/openapi-generator & https://github.com/OpenAPITools/openapi-generator-cli
-
GRPC Gateway API Client?
- https://github.com/OpenAPITools/openapi-generator-cli
-
Better Fastly API clients with OpenAPI Generator
OAG is a Java project that uses Mustache templates to configure each supported programming language. It provides a CLI openapi-generator-cli that will download the appropriate JAR file and invoke the java executable to run OAG.
-
Publishing Rust types to a TypeScript frontend
So I'm assuming you're talking about generating Rust types from TypeScript? If you can get your typescript definitions into OpenAPI (i.e, via typeconv) you can use the openapi generator cli to generate rust types. However this is geared towards web backends rather than pure IPC or cross-lang interop.
-
I just developed an entire feature without reviewing it in the browser - thanks to Typescript
https://github.com/OpenAPITools/openapi-generator-cli I didn't build it so you may need to do some research on it
-
[AskJS] REST client generation tools
openapi-generator-cli is what I use for openapi/swagger, along with the nestjs swagger plugin. it's not perfect but it gets the job done.
-
Trying out NestJS part 4: Generate typescript clients from OpenAPI documents
The OpenAPI generator configuration file. See Configuration for more info.
What are some alternatives?
vite-react-ts-template - npx degit akx/vite-react-ts-template
openapi-typescript-code-generator - TypeScript code generator via OpenAPI scheme.
eslint-plugin-ember - An ESLint plugin that provides set of rules for Ember applications based on commonly known good practices.
redoc - ๐ OpenAPI/Swagger-generated API Reference Documentation
webpack-chain - A chaining API to generate and simplify the modification of Webpack configurations.
trying-out-nestjs-part-4
envalid - Environment variable validation for Node.js
typoa - ๐ Build OpenAPI definitions from Typescript typings
craco - Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
openapi-generator - OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
eslint-config-galex - hopefully the last eslint config you'll ever need - customizable & modern best practices for JS, TS, Node, React, Remix, Next, Jest, testing-library & storybook
connect-go - Moved to https://github.com/connectrpc/connect-go