Wednesday, December 21, 2022

T3 Dogs App

I made this website in a day last week.

It's essentially a CRUD app that uses the T3 stack.

The T3 dev experience is stellar. The tools that are built in work really well.

I found that:

  • tPRC is super easy to get a backend up and running, it felt as simple as using something like Express.js to send basic requests and responses to and from
  • Having end is end type safety is amazing, the autocompletion you get in VSCode is 💯
  • Prisma is super simple to plug in and get working (especially with SQLite), as I wanted to deploy something I used a managed MySQL database from PlanetScale and the experience was excellent
  • Tailwind is awesome, now that I know the classes quite well I find writing CSS really fluid with it
  • NextAuth was a great way to get auth working without much effort, it reminds me of Devise from making Rails apps back in the day but I like that OAuth is the primary focus
  • You don't really think about the Next.js side of things that much apart from running a dev environment and building the app

Vercel is such a slick experience for deployment. It's so simple to connect to a repo and add your secrets.

I can still remember the old days of Zeit (and using Now) which was a great experience and I'm so glad that Vercel has continued to develop the product.

Overall I enjoyed the experience and would like to build something more complex to see how T3 stacks up.