trpc
Nest
trpc | Nest | |
---|---|---|
35 | 313 | |
32,842 | 64,633 | |
1.6% | 1.6% | |
9.8 | 9.9 | |
6 days ago | 5 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
trpc
-
Key differences between GraphQL and RESTful API
RESTful API: RESTful API does not have machine-readable metadata cacheable, and query validation is not available.(There are some libraraies tried to solve this issue like TRPC)
-
Implementing Authorization with Clerk in a tRPC app running on a Cloudflare Worker
tRPC + Cloudflare Workers Example
- how to improve UX of checking changes in ONE file though git history
-
trpc + nextjs app dir + fetchRequestHandler
Hi I'm working with trpc + nextjs app dir (unsupported by trpc currently) and trpc context
-
TRPC invalidation app directory
I'm using TRPC with Next13 App directory and I can't manage to invalidate queries. Seing from their example there is a way to do it https://github.com/trpc/trpc/blob/96956e790e6862bcc6dcc4622edc8e48da0adbcb/examples/.experimental/next-app-dir/src/app/post-example/page.tsx
-
tRPC ā Move Fast and Break Nothing. End-to-end typesafe APIs made easy
It is. But RSC make many library authors and maintainers question whether their library is still needed in a RSC world and if so how they can support it. Same story with tRPC https://github.com/trpc/trpc/issues/3297
-
trpc VS prim-rpc - a user suggested alternative
2 projects | 23 Jul 2023
-
T3\tRPC - How do you change the cache?
Also, while trying to debug this, and this is way outside my league but I noticed this: Is there possibly an error in the Updater TS-definitions in https://github.com/trpc/trpc/blob/main/packages/react-query/src/shared/proxy/utilsProxy.ts at lines 155+156 & 167+168 because they are duplicate-lines and seems to be where my issues are coming from.
-
SPARTAN. Type-safe Angular full-stack development powered by Analog.
Unfortunately, tRPC and NestJs do not play well together by default, and the tRPC team does not intend to integrate the two through an official plugin for the time being.
-
GitHub Accelerator: our first cohort and what's next
- https://github.com/trpc/trpc: End-to-end typesafe APIs made easy. Never write another API contract again.
Nest
-
NestJS tip: how to change HTTP server timeouts
When using the NestJS framework, sometimes you may need to change some default timeout. You can define them just like you'd do in a plain Node.js HTTP server like so:
-
Containerize your multi-services app with docker compose
Back: a graphQL server built with Nestjs
-
Full Stack Web Development Concept map
NestJS - opinionated more scalable, but harder to learn docs
-
Don't go all-in Clean Architecture: An alternative for NestJS applications
Pragmatically, we can apply this to a Nest application by creating an Interface for our services, separating the Presenter layer (Controller) from the Use Case (Services):
- Utilizando Testcontainers para Testes de IntegraĆ§Ć£o com NestJS e Prisma ORM
-
A Gentle Introduction to Containerization and Docker
Itās a text document that contains all the commands a user could call to assemble an image. Letās check an example of a Dockerfile for a nodejs app in this case it will be a NestJS app and then explain each part.
-
Scalable REST APIs with NestJS: A Testing-Driven Approach
describe('Create bookmarks', () => { const dto: CreateBookmarkDto = { title: 'NestJS', link: 'https://nestjs.com/', }; it('should create bookmark', () => { return pactum .spec() .post('/bookmarks') .withHeaders({ Authorization: 'Bearer $S{userAt}', }) .withBody(dto) .expectStatus(201) .stores('bookmarkId', 'id')//store the bookmark id in the variable bookmarkId .expectBodyContains(dto.title) .expectBodyContains(dto.link) }); });
-
Rust GraphQL APIs for NodeJS Developers: Introduction
In my usual NodeJS tech stack, which includes GraphQL, NestJS, SQL (predominantly PostgreSQL with MikroORM), I encountered these limitations. To overcome them, I've developed a new stack utilizing Rust, which still offers some ease of development:
-
A Step-by-Step Guide to Implement JWT Authentication in NestJS usingĀ Passport
The purpose of this article is to provide a step-by-step guide for implementing authentication system in a NestJS project using the Passport middleware module.
-
From Frontend to Backend
That's exactly where I am. My manager gave me these links, that cover a lot of those words the backend uses, so I can identify what they mean and how to use them. 1. For inspiration and concepts: https://github.com/Sairyss/domain-driven-hexagon 2. Suggested to read the documentation for nest.js. They apply such concepts I don't understand: https://nestjs.com/
What are some alternatives?
domain-functions - Decouple your business logic from your framework. With first-class type inference from end to end. [Moved to: https://github.com/seasonedcc/domain-functions]
SailsJS - Realtime MVC Framework for Node.js
graphql-zeus - GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ā”ā”ā” for browser,nodejs and react native ( apollo compatible )
Koa - Expressive middleware for node.js using ES2017 async functions
denodb - MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.
MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.
feathers - The API and real-time application framework
strapi-mongo-next - NextJs frontend, Strapi backend API, and MongoDb. A full-stack sample business website styled with the latest Material-Ui.
Ts.ED - :triangular_ruler: Ts.ED is a Node.js and TypeScript framework on top of Express to write your application with TypeScript (or ES6). It provides a lot of decorators and guideline to make your code more readable and less error-prone. āļø Star to support our work!
react-query-helper - A helper library to use react-query more efficient, consistency
Moleculer - :rocket: Progressive microservices framework for Node.js