Fast and Simple Web Apps with Nitro

2 years ago | YouTube
Nitro is an exciting web server created by the unjs team, who are also the people behind Nuxt. Nitro is a study in simplicity and a wonderful tool for your JS belt.

I've been writing a fun book over the last few months on Nuxt 3 and it's based on my experience building out bigmachine.io as well as the individual course sites I have. I've been using Nuxt for years and love it - and Nuxt 3 is particularly exciting because it's both faster and simpler.

One of the things I wanted to dig into was the server that powers Nuxt: Nitro. Nuxt 3 behaves a bit differently than Nuxt 2, and I wanted to know why. Specifically:

  • It's faster. I know a lot of this has to do with Vite, but the server starts instantly.
  • The routing is different. You used to use an _ for the dynamic routes, now you use square braces [].
  • The serverside routes are ridiculously terse, which I absolutely love.

So I spent the last few nights and weekends digging in and had a ton of fun. The result was a quick 5 minute video for you to enjoy!

If you're into terse simplicity, here you go...

Have some thoughts? You can always reply to this post (if you're receiving as a newsletter) or shoot me an email at rob@conery.io. If the conversation is a good one, I would love to add it here, with your permsission, of course. Otherwise, you can always take it to HackerNews.

There's More...

👹 The Wrath of the Junior Developer

There are a lot of opinions about AI, whether it helps or hinders our coding process and our team in general. Many are concerned that junior devs will be the ones impacted the most.

Following Your Imagination

I learned to play ice hockey when I was 11 and, as a kid from Southern California, it wasn't easy. I learned how to skate and how to play the game at the same time, all while going through a massive growth spurt. My sister once called me a "baby giraffe on a frozen lake". Nice.

It wasn't what you said, but how you said it

I make videos for a living and I swear: each one is an adventure. You would think I would have a system down by now but, as it turns out, each video is a unique thing that demands it's own type of story telling.