3 ms·
T3 stack: https://create.t3.gg/ https://create.t3.gg/ https://github.com/t3-oss/create-t3-app https://github.com/t3-oss/create-t3-app It's Next.js, Typescript,
by reducesuffering 4y ago
T3 stack: https://create.t3.gg/ https://create.t3.gg/ https://github.com/t3-oss/create-t3-app https://github.com/t3-oss/create-t3-app
It's Next.js, Typescript, TailwindCSS, Prisma, NextAuth, tRPC.
> I know about Node.JS, Angular, React, Express
You already know just JS. Stick with JS framework, not these Rails suggestions. Next.js is by far the biggest JS framework (ChatGPT page? half the recent YC co's? Next.js), the rest are the niceties around it to get to a full solution.
> A central definition of data schemas. I don't want to define my schema or validation twice, once in the frontend and once in the backend.
T3 stack uses Prisma, a JS/TS "ORM". Your data schema will live in a .prisma file.
> Automatic generation of REST endpoints. I hate boilerplate code and don't want to reimplement Get/GetOne/Add/Update/Delete and Websocket for each data model. Even better would be a GraphQL interface.
Includes tRPC setup. Give the automated tRPC endpoints a whirl. It's not auto-gen get/delete/etc. (like Django/Rails models) on the server, but the endpoint you create on server very quickly will auto-gen the func call available on the frontend.
> Authorization and Authentication
Includes NextAuth.js setup