Brody Stack vs. Other Stacks,Which is Better for You?

by Joyce Mackintosh

Alright, folks, let’s dive into this “Brody Stack” thing I’ve been messing with. I gotta say, it’s been a bit of a journey, but I think I’ve finally wrapped my head around it. Hopefully, my little experiment here can help some of you out.

Brody Stack vs. Other Stacks,Which is Better for You?

Getting Started

First things first, I needed to figure out what this Brody Stack even was. Turns out, it’s a way to build full-stack web apps, but it tries to keep things simple. The main pieces are:

  • Bun: Like *, but faster, from what I hear.
  • React: The front-end, how you create pages.
  • Oh my ZSH: A cool, interactive command-line interface.
  • Drizzle ORM: Talk to database stuff.
  • Yarn: Grab all the code packages you’ll need.
  • Typescript: JavaScript, but a little stricter, avoid bugs.

Setting Up the Tools

So, I started with installation Bun. I grabbed the installer from their website and ran it. Pretty straightforward, actually. Next, I made sure I had Yarn installed, because that’s what the Brody Stack seems to prefer for managing all the different bits of code.

Then I got Oh My Zsh installed. You can install it through the command-line. It makes the terminal look all fancy and gives you some helpful shortcuts.

Building a Test Project

Okay, with the tools in place, I wanted to actually build something. I found a basic Brody Stack template online, nothing fancy, just a simple “to-do list” app. I used Yarn to create a new project from this template:

Brody Stack vs. Other Stacks,Which is Better for You?

I used some commands, the basic ones, and it pretty much set up a basic file structure for me. Folders for the front-end (React stuff), the back-end (where Bun runs), and the database connections (Drizzle). I spent some time poking around in these files, just to get a feel for how things were organized.

Making It Do Something

The template came with some basic code to add and display to-do items. I wanted to see if I could change it a little. I messed with the React code to change the way the list looked, added some colors, that kind of thing. Then, I tinkered with the back-end code to add a “due date” for each to-do item. This involved messing with the Drizzle stuff, to make sure the database could store that extra info.

Running the Thing

Once I was happy with my changes, I fired it up! Bun has a command to run the development server, so I typed that in, and boom, my little to-do app popped up in my web browser. I added some to-dos, checked that the due dates were working, and generally just played around with it.

My Takeaway

Honestly, the Brody Stack seems pretty cool. It’s definitely faster than some other setups I’ve used. And because it uses TypeScript, I felt like I was catching errors before they became major headaches. It’s still early days, but I think this is something I’ll be exploring more. It’s not perfect, no magic solution, but it’s a solid option, and it’s got me thinking about new ways to build things.

Brody Stack vs. Other Stacks,Which is Better for You?

You may also like

Leave a Comment