pothos VS create-t3-app

Compare pothos vs create-t3-app and see what are their differences.

pothos

Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach (by hayes)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
pothos create-t3-app
24 183
2,244 23,473
- 2.4%
9.2 9.2
5 days ago about 6 hours ago
TypeScript TypeScript
ISC License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

pothos

Posts with mentions or reviews of pothos. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-26.
  • When Do You Use Global Types in Your Project?
    1 project | /r/typescript | 26 Mar 2023
    A project I maintain Pothos uses a global namespace with a bunch of interfaces to allow plugins to extend interfaces defined in core or other plugins. This allows plugins to add new options and methods to objects and classes without the other packages needing to know anything about them.
  • Full-Stack GraphQL-APIs in TypeScript without codegen
    1 project | /r/nextjs | 16 Mar 2023
    I noticed this being shared around on Twitter the other day - pretty handy, as I'm currently trying to architect a similar experience for my job using Pathos and graphql-codegen.
  • Ask HN: What would be your stack if you are building an MVP today?
    47 projects | news.ycombinator.com | 26 Jan 2023
    - tRPC

    But I'd likely throw out Clerk a cheaper option:

    - Supertokens, and also since Supertokens is easy (lots of enthusiastic reports about it), has a managed solution (which is cheaper than the alternatives), is secure and scalable (rotating refresh tokens with JWTs), open source, has magic links, and the architecture of Supertokens would allow me to simply and quickly eject to self-hosting it if/when I'd eventually need to (if the app ever reaches mass-market scale).

    And I might throw out tRPC for the equivalent GraphQL experience (esp. if business strategy dictates I need a 3rd party API):

    - GQty.dev on the client, for inferred queries/mutations. For rapid dev speed. Simple code example: https://gqty.dev/docs/intro Then move to URQL or Relay at scale, or just skip GQty and go with URQL from the start (if scalability trumps dev speed).

    - Pothos http://pothos-graphql.dev on the server, for auto building the schema from your TS code (aka. code-first). Better than Nexus (e.g. Max Stoiber moved from Nexus to Pothos on his Bedrock starter template because Pothos is best in class: https://bedrock.mxstbr.com/tools/pothos/ ).

    And I might throw out NextJS (Webpack) for the equivalent experience in Vite:

    - vite-plugin-ssr, since both architectural control (libraries > frameworks) and Vite rocks. I'd likely then have to make solito-vite https://github.com/nandorojo/solito/discussions/157 to have a unified navigation between React Native and Web, but Solito is allegely tiny, so recreating it should be doable.

    (If doing all of these replacements, maybe starting from scratch would be easier than modifying create-universal-app ... That said, I think if someone made a starter repo with the above choices it would be a real killer!)

    Then I'd also likely use:

    - Vercel (and try their Edge Functions, for a serverless sweet v8 isolates experience without slow cold starts), or maybe Cloudflare Workers (cheaper, slightly more hassle?) for hosting.

    - Planetscale or Supabase for the DB. (Not brave enough to try EdgeDB or SurrealDB just yet, though EdgeDB is close..) Unless I had a specific use case where a more specialized/optimized DB would make sense.

    This stack should stick even post-MVP, as it's not only optimized for a solo developer but for scalability.

  • Real World Rust Backend For Web APIs (GraphQL / REST)
    8 projects | /r/rust | 24 Dec 2022
    Have you used Pothos? It's a way to make GraphQL schemas in TypeScript, in a type-safe way. So the creator of Prisma Client Rust is thinking about making a Pothos-style API based on the t builder pattern:
  • What to use with Apollo Server v4 to achieve type-safety?
    3 projects | /r/graphql | 19 Dec 2022
    I would recommend Pothos (https://pothos-graphql.dev/) as a more modern alternative to typegraphql or nexus.
  • Apollo Layoffs
    6 projects | news.ycombinator.com | 15 Dec 2022
    Depends on language, I've build GraphQL servers in a few, though mostly JavaScript and Python. For Python I used to use Graphene, these days I use Strawberry.

    For JavaScript, I originally used graphql-js and express-graphql, as these were the original libraries and I was a literal day 1 adopter. All the libraries are essentially just wrappers around graphql-js, so it's still viable to use directly. But for schema-building I now use Pothos (https://pothos-graphql.dev/), I'd probably use graphql-helix as the http layer (https://github.com/contra/graphql-helix).

  • Achieving end-to-end type safety in a modern JS GraphQL stack
    9 projects | dev.to | 24 Nov 2022
    Pothos is a breeze of fresh air when it comes to building GraphQL APIs. It is a library that lets you write code-first GraphQL APIs with an emphasis on pluggability and type safety. And it has an awesome Prisma integration! (I am genuinely excited about this one, it makes my life so much easier.)
  • Pothos – Convert TypeScript to GraphQL Schema
    1 project | news.ycombinator.com | 27 Sep 2022
  • How to Build a Type-safe GraphQL API using Pothos and Kysely
    5 projects | dev.to | 29 Aug 2022
    In today's article we are going to create a GraphQL api using the Koa framework together with the GraphQL Yoga library and Pothos. In addition, we will use Kysely, which is a query builder entirely written in TypeScript.
  • Extreme Explorations of TypeScript's Type System
    15 projects | news.ycombinator.com | 27 Jun 2022
    If you're a GraphQL developer, Pothos is the best example - all your user-defined types just fits in it like a glove 99% of the time. It definitely makes the most use of TS generics.

    https://pothos-graphql.dev/

    (I'm a bit sleepy, so this is the main one I can think of at the moment that I really enjoy using.)

create-t3-app

Posts with mentions or reviews of create-t3-app. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Deploy Full-Stack Next.js T3App with Cognito and Prisma using AWS Lambda
    4 projects | dev.to | 15 Apr 2024
    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]
    3 projects | news.ycombinator.com | 14 Apr 2024
    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
    3 projects | dev.to | 16 Mar 2024
    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
    5 projects | dev.to | 11 Mar 2024
    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]
    1 project | news.ycombinator.com | 28 Feb 2024
    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?
    2 projects | news.ycombinator.com | 13 Feb 2024
    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
    3 projects | dev.to | 30 Jan 2024
    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
    3 projects | dev.to | 6 Jan 2024
    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)
    21 projects | news.ycombinator.com | 2 Jan 2024
  • Show HN: Build your startup or side project faster with these SaaS templates
    8 projects | news.ycombinator.com | 1 Jan 2024
    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?

When comparing pothos and create-t3-app you can also consider the following projects:

nexus - Code-First, Type-Safe, GraphQL Schema Construction

vite - Next generation frontend tooling. It's fast!

graphql-upload - Middleware and an Upload scalar to add support for GraphQL multipart requests (file uploads via queries and mutations) to various Node.js GraphQL servers.

next-pwa-contentlayer - Next.js PWA App with `next-i18next` and `Contentlayer`.

TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

Refine - A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.

graphql-ws - Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.

supabase - The open source Firebase alternative.

graphql-helix - A highly evolved GraphQL HTTP Server 🧬

turbo - Incremental bundler and build system optimized for JavaScript and TypeScript, written in Rust – including Turbopack and Turborepo.

gqtx - Code-first Typescript GraphQL Server without codegen or metaprogramming

next-auth - Authentication for the Web.