node-sql-template-strings
trpc
Our great sponsors
node-sql-template-strings | trpc | |
---|---|---|
6 | 35 | |
598 | 32,226 | |
- | 3.1% | |
0.0 | 9.8 | |
2 months ago | 6 days ago | |
JavaScript | TypeScript | |
ISC 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.
node-sql-template-strings
-
Write SQL Queries With Confidence (TypeScript + Postgres)
Ah, I see it. I'm assuming node-sql-template-strings or an equivalent?
-
I thought I knew what I was doing
There is also some other interesting use cases.
- DenoDB
-
Slonik: A PostgreSQL client with strict types, detailed logging, and assertions
Any pitfalls that you encountered?
I'm trying to decide between this, or writing my own helpers around https://github.com/felixfbecker/node-sql-template-strings.
Also, have you found anything the solves typechecking of embedded expressions inside the SQL template?
For example, Webstorm will help you autocomplete your SQL, but you can still type:
SELECT * FROM foo WHERE barInt = ${bazStr}
Any reason you chose that over node-sql-template-strings [1], which looks very similar?
[1] https://github.com/felixfbecker/node-sql-template-strings
-
How do I prevent SQL injection in this function? I am using pg-promise
sql-template-strings is a really simple and elegant solution for parameterized queries.
trpc
-
Implementing Authorization with Clerk in a tRPC app running on a Cloudflare Worker
tRPC + Cloudflare Workers Example
-
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
-
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.
-
Introducing ArkType: TypeScript you can take to runtime
Badass. I'd love to see some integration with TRPC server
-
trpc VS lexrpc - a user suggested alternative
2 projects | 6 Feb 2023
-
Ask HN: What are the best open source TypeScript projects I can learn from?
tRPC, because you can learn a lot of type-inference tricks using generics and proxies
- Is the T3 stack good to use for a full stack large scale project?
-
KitaJs Survey - No runtime code, fast as bare metal and top level framework.
References to compare with something at all: * https://github.com/samchon/typescript-json (input transformer) * https://github.com/trpc/trpc (state-of-the-art end-to-end api) * https://github.com/spa5k/fastify-file-routes * https://github.com/hannoeru/vite-plugin-pages (frontend file-based routing)
What are some alternatives?
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript ๐
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]
graphql-zeus - GraphQL client and GraphQL code generator with GraphQL autocomplete library generation โกโกโก for browser,nodejs and react native ( apollo compatible )
denodb - MySQL, SQLite, MariaDB, PostgreSQL and MongoDB ORM for Deno
MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.
strapi-mongo-next - NextJs frontend, Strapi backend API, and MongoDb. A full-stack sample business website styled with the latest Material-Ui.
react-query-helper - A helper library to use react-query more efficient, consistency
fastify - Fast and low overhead web framework, for Node.js
typed-knex - A TypeScript wrapper for Knex.js
next-prisma-starter
prisma-erd-generator - Generate an ER Diagram based on your Prisma schema every time you run npx prisma generate
JDBI - The Jdbi library provides convenient, idiomatic access to relational databases in Java and other JVM technologies such as Kotlin, Clojure or Scala.