confgen
tsoa
confgen | tsoa | |
---|---|---|
3 | 16 | |
2 | 3,136 | |
- | - | |
0.0 | 9.1 | |
over 1 year ago | 3 days ago | |
TypeScript | TypeScript | |
- | 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.
confgen
-
JavaScript Gom Jabbar
FWIW, I have a side project, confgen https://github.com/erikpukinskis/confgen, which tries to help with this.
Assuming it’s an app (and not a library) get what you are describing you would run:
npx confgen@latest @app vite typescript eslint prettier react
-
The Node ecosystem (still) has tooling problems
It’s still early days, but I have been working on this…
There are scaffolding tools that help configure all the JavaScript frontend stuff you need, but the problem is you run them once and you can’t ever run them again to change/add stuff.
So I built Confgen which is sort of like create-react-app except it’s idempotent:
https://github.com/erikpukinskis/confgen
It’s very alpha, but I would love to get ideas/ bug reports on GitHub.
It’s also currently Vite-only, but I’m open to a possible webpack/babel mode in the future.
-
[AskJS] What is the best way to create a common npm package for building others?
I made my own for exactly the reasons you cite: https://github.com/erikpukinskis/confgen but it’s extremely opinionated and very alpha. Basically, if you are working in the cluster of Vite, TypeScript, Apollo, etc it will work but it doesn’t work with anything else.
tsoa
-
Create Production-Ready SDKs with Goa
Tsoa is a popular TypeScript framework similar to Goa that you may encounter in the OpenAPI ecosystem. Speakeasy has a tutorial for it, too.
- JavaScript Gom Jabbar
-
Choosing a backend API framework
Currently i am using TSOA and loving it, it gives you automatic Open API specs and data validation based on typescript interfaces. I have used Nest on previous projects but I personally don't like the decorators hell that comes with Nest, and raw express/fastify are ok and easy to use but a pain in the ass on big projects to keep swagger, validations, interfaces and DTOs all in sync.
-
Does anyone here have any experience with TSOA? (tool for OpenAPI-compliant REST APIs using TypeScript and Node)
I'm curious if anyone here has played around with or used TSOA (https://github.com/lukeautry/tsoa)?
-
Is Express.js a good idea for backend?
If you decide to go with Express/Typescript I would definitely check out TSOA. It's a nice way to build backend APIs with auto documentation.
-
Swagger without express or koa or etc
We are using TSOA to generate the docs from the code, works pretty well. https://github.com/lukeautry/tsoa
-
OpenAPI Generator allows generation of API client libraries from OpenAPI Specs
This is the best project I’ve found to that for that - https://github.com/lukeautry/tsoa. Uses decorators mainly.
If there are other such projects, please share.
-
TypeScript-based REST API template to quickly bootstrap your next project
Hello, In the last month I built a REST API template in Typescript to quickly bootstrap new projects, I tried to use the most updated modules available, I've also included a "todo" sample just to showcase how all the things work together, the main modules that I've used are: - expressjs + tsoa that allows to easily generate the OpenAPI spec without any additional steps (just declare your controllers via typescript) - class-validator to validate body requests (this is also useful as the OpenAPI will be automatically generated based on the classes that you define) - Jest for testing, I've included also unit and integrations test samples with an in-memory database
-
Automatic swagger ui for nodejs/express? (Info in comments)
Have a look at [TSOA[(https://github.com/lukeautry/tsoa). While far from perfect (I am on the lookout to find a better solution), gets the job done. And generating the entire routing is a pretty neat trick, so that's also that.
-
How popular is typescript in backend development?
tsoa Lighter weight, but also great.
What are some alternatives?
scripts-to-rule-them-all - Set of boilerplate scripts describing the normalized script pattern that GitHub uses in its projects.
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
generate-package - Use as a sub-generator or plugin in your generator to create a package.json for a project. Or install globally and run with Generate's CLI.
Express - Fast, unopinionated, minimalist web framework for node.
tsParticles - tsParticles - Easily create highly customizable JavaScript particles effects, confetti explosions and fireworks animations and use them as animated backgrounds for your website. Ready to use components available for React.js, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Solid, Riot and Web Components.
fastify-openapi-glue - A plugin for the Fastify webserver to autogenerate a Fastify configuration based on a OpenApi(v2/v3) specification.
tsdx - Zero-config CLI for TypeScript package development
Koa - Expressive middleware for node.js using ES2017 async functions
web.dev - The frontend, backend, and content source code for web.dev
routing-controllers - Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.
parcel - The zero configuration build tool for the web. 📦🚀
Hapi - The Simple, Secure Framework Developers Trust