typed-graphql-builder
create-t3-app
typed-graphql-builder | create-t3-app | |
---|---|---|
5 | 183 | |
45 | 23,398 | |
- | 2.4% | |
5.0 | 9.2 | |
4 days ago | 3 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.
typed-graphql-builder
-
tRPC – Move Fast and Break Nothing. End-to-end typesafe APIs made easy
I'm honestly pretty happy with TypeGraphQL. TypeGraphQL works code-first and lets you integrate request-scoped DI for resolvers, which makes writing more complex resolves significantly more pleasant.
Admittedly for the front end I couldn't find a satisfactory tool so I built typed-graphql-builder (https://typed-graphql-builder.spion.dev/). You do have to run it if your backend schema changes, but not when your queries change as the queries are written in typescript and inferred on the fly. (I should probably write a watch mode for the cli, that should largely take care of the rest of the toil when quickly prototyping)
-
Ask HN: Those making $0/month or less on side projects – Show and tell
Can we do projects that we think will stay at $0 but we still hope might gain traction?
OSS: typed-graphql-builder https://typed-graphql-builder.spion.dev/ is a TypeScript based graphql query builder.
It was inspired by tql (https://tql.dev/) but generates a much smaller client and has full, automatic type inference for query variables used in input objects.
-
Ent: An Entity Framework for Go
FWIW I've given up the SQL query builder route and instead went with GraphQL query builder / Hasura route (https://typed-graphql-builder.spion.dev/).
-
Recommendations for GraphQL and TypeScript?
Check this: https://github.com/typed-graphql-builder/typed-graphql-builder
-
Unpopular opinoin GraphQL kinda sucks
Agreed. I'm working on a typed query builder for GraphQL and TS but secretly I'm a little mad that nobody gave some thought to making it easier to integrate in a type-safe way at least in the client languages
https://github.com/typed-graphql-builder/typed-graphql-build...
No docs yet, that's WIP
create-t3-app
-
Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda
import { unstable_noStore as noStore } from "next/cache"; import Link from "next/link"; import { CreatePost } from "~/app/_components/create-post"; import { getServerAuthSession } from "~/server/auth"; import { api } from "~/trpc/server"; export default async function Home() { noStore(); const hello = await api.post.hello.query({ text: "from tRPC" }); const session = await getServerAuthSession(); return (
Create T3span> App h1>
First Steps →h3>
Just the basics - Everything you need to know to set up your database and authentication. div> Link>Documentation →h3>
Learn more about Create T3 App, the libraries it uses, and how to deploy it.div> Link> div>{hello ? hello.greeting : "Loading tRPC query..."}p>
{session && Logged in as {session.user?.email}span>} p> {session ? "Sign out" : "Sign in"} Link> div> div> div> main> ); } async function CrudShowcase() { const session = await getServerAuthSession(); if (!session?.user) return null; const latestPost = await api.post.getLatest.query(); return (
{latestPost ? (Your most recent post: {latestPost.name}p> ) : (
You have no posts yet.p> )} div> ); }
-
Interview with Senior JavaScript Developer 2024 [video]
I thought he was making stuff up - "t3 stack vs t4 stack". But about 2 minutes in, I realized that I'd heard of a few things that he's talking about so I looked it up and they're real!
I think it's possible everything he's saying is true, more or less. LOL
t3: https://create.t3.gg
t4: https://t4stack.com
-
Localized tRPC errors
We start with a project that was bootstrapped with create-t3-app. For internationalization we use next-intl and set it up as described in the getting started guide. With this initial project setup we can jump into implementing localized error messages.
-
Building an Admin Console With Minimum Code Using React-Admin, Prisma, and Zenstack
I used create-t3-app to scaffold the Next.js app, with TypeScript, Prisma, and "app router" enabled in the options. You can also use create-next-app for the job and install Prisma manually.
-
Leaving Everything Behind For Elixir [Theo – t3․gg] [video]
I agree that the quantity of publicly available code isn't the most reliable indicator of someone's seniority.
My issue with this individual arises from the discrepancy between his public claims of significant expertise in the content he produces. He positions himself as a highly experienced developer, attracting a large following of junior developers who take his advice at face value.
I am trying to collect data points supporting his claims of seniority. For instance, his website prominently features a statement that he is the creator of the T3 Stack. However, a review of the contributor statistics for the T3 Stack (https://github.com/t3-oss/create-t3-app/graphs/contributors)... minimal contributions from him, which raises questions about the validity of his claims.
-
Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?
I would recommend - https://create.t3.gg/
It uses the following, which as of late are pretty well know and common, so you can punch in your problems to stackoverflow, google, or chatgpt and get some pretty good answers.
It uses:
Nextjs (React), typescript, trpc (typescript rpc), auth, tailwind, and Prisma (ORM)
Though of course these could go out of fashion tomorrow, but I don't think the essential idea behind these libs and frameworks are that wacky, unique or unordinary.
Prisma ORM, is a little opinionated, and you could swap it out for Drizzle, which is basically typescript side sugared SQL.
TRPC might be also be a little sticky because it is tied to typescript, this is the tradeoff for the buttery smooth coupling for the fullstack experience. I think there exists a typed-rest solution out there, but haven't used it.
Personal anecdata, I used this stack for a little hobby project and it was FUN.
-
You don't need to pay for SaaS boilerplates - Open SaaS
Open SaaS was built with Typescript, and because it’s a full-stack app, type safety from the back-end to the front-end can be a real lifesaver. I mean, some opinionated stacks have gotten hugely popular on this basis.
-
Building a Local Development Environment: Running a Next.js Full-Stack App with PostgreSQL and Minio S3 Using Docker
Let's start by creating a Next.js application. We will use the T3 stack (TypeScript, TailwindCSS, and Prisma ORM) for this tutorial to skip installing and configuring all the dependencies which is out of the scope of this article. You can find more information about the T3 stack.
- Ask HN: Who wants to be hired? (January 2024)
-
Show HN: Build your startup or side project faster with these SaaS templates
https://github.com/t3-oss/create-t3-app
You still would need to add Stripe but there are so many examples publicly available that it should be straight forward
What are some alternatives?
wundergraph - WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition.
vite - Next generation frontend tooling. It's fast!
sq - sq is a type-safe data mapper and query builder for Go.
next-pwa-contentlayer - Next.js PWA App with `next-i18next` and `Contentlayer`.
vlcn-orm - Develop with your data model anywhere. Query and load data reactively. Replicate between peers without a central server.
Refine - A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
vellum-client-generator - Vellum’s Fern API which is used to generate SDKs.
supabase - The open source Firebase alternative.
fern-java - Generate Java models, clients, and server interfaces from your API definition.
turbo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.
node-sql - SQL generation for node.js
next-auth - Authentication for the Web.