Andre Treib's Two Cents

Your 3-Month Roadmap to Becoming a Junior Backend Developer

ANAndré Treib

Published on September 10, 2024

So, you want to be a backend developer, eh? Well, buckle up, because this is your roadmap to go from total newbie to junior backend wizard in three months.

Before we dive into the backend world, let’s not forget the other half of the web development equation—frontend development. In a previous article, we walked through a 3-month roadmap to becoming a junior frontend engineer. If you haven’t checked it out yet, it’s a great companion to this guide. Together, these roadmaps will give you a full perspective on web development, where the frontend handles what users see and interact with, while the backend takes care of everything behind the scenes. In other words, mastering both will make you a true full-stack web hero!

Spoiler alert: the journey doesn't stop here. In fact, it just gets better. But this roadmap will set you on a solid path to building stuff that works behind the scenes. Also, we're going to roll with TypeScript as our main language. Why? Because it's awesome, that's why. Don't worry if you've never touched it—by the end of this roadmap, you'll be speaking TypeScript fluently (or at least not getting lost when the compiler screams at you).

Month 1: Fundamentals First

Before you even think about backend stuff, we need to nail down the basics. Just like a good basketball game needs rules and structure, your coding journey needs solid fundamentals. Think of it like learning how to dribble before attempting a slam dunk.

1. Learn the Basics of Programming

Every backend developer starts with the core concepts of programming: variables, loops, conditionals, functions, arrays, and objects. You need to understand how data is stored, manipulated, and moved around in code.

  • Resources: Head to FreeCodeCamp's JavaScript section, as TypeScript is basically JavaScript with extra goodies. You don't need to go the full route, though. FreeCodeCamp can get reeeeeeally into the depths of Javascript. Instead, go for the first section, and learn the basic of it.
  • Tip: If you see any JavaScript tutorials, they’re close enough to TypeScript for now. The basics are the same.

2. Introduction to TypeScript

Okay, now that you’re getting comfy with coding, it’s time to step it up and get into TypeScript. It’s like JavaScript but with types (so you know what’s in your variables—no surprises!). Plus, TypeScript is used in lots of places, and the skills you gain here can be transferred to other typed languages like Java, C#, and more.

  • Resources: The TypeScript Docs are excellent, but I’d recommend starting with a crash course on YouTube. Just search for "TypeScript for Beginners," and you’ll find some gems.
  • Tip: Stick with shorter videos at first. Get a feel for the syntax before diving into more complex topics.

Month 2: The Real Backend Deal

Now, this is where the magic happens. Month 2 is where you get into actual backend development. This is where you get to build and manage the brains of an application. The front end is just the pretty face—this is the muscle.

3. Learn about Node.js

Node.js is what we’ll use to run JavaScript (and TypeScript!) on the server. You know how websites do cool things when you click a button? That’s mostly front-end work. But the server’s handling of requests, saving data, and controlling access? That’s backend, baby.

  • Resources: Go to The Odin Project’s Node.js Section. They do a great job of breaking it down for beginners.
  • Tip: When searching for tutorials, use keywords like "Node.js crash course for beginners" and "Node.js TypeScript starter tutorial."

4. Get Familiar with Databases

Data is the lifeblood of backend development. You’re going to need to learn how to store it, retrieve it, and make sure it doesn’t randomly disappear into the void (that’s bad). Start with a relational database like PostgreSQL or MySQL.

  • Resources: Check out PostgreSQL's Getting Started Guide on W3 School. Or search for "Beginner PostgreSQL Tutorials" on YouTube—there are plenty.
  • Tip: Use Prisma to connect TypeScript with databases. Prisma is a TypeScript-friendly ORM (Object-Relational Mapper) that makes database management easier.

5. APIs: What They Are and How to Build Them

Ever heard of APIs? These are the interfaces you build to let the front end talk to the back end. You’ll be building APIs to serve data and handle requests.

  • Resources: Search for "Build a REST API with Node.js and TypeScript." There are tons of free YouTube tutorials. Try one, and then challenge yourself to build a simple API.
  • Tip: The idea here is to get comfortable with handling requests (GET, POST, PUT, DELETE) and sending responses back to the front end.

Month 3: Level Up & Practice

By now, you’ve got some solid backend foundations. It’s time to put it all together and build something that feels real. This is where things get fun.

6. Authentication & Security Basics

You can’t let just anyone walk into your app’s data vault, right? That’s where authentication comes in. You need to learn how to manage user logins, passwords, and security in general.

  • Resources: Look up "JWT Authentication in Node.js" or "OAuth for Beginners." You’ll find tutorials explaining how to set up secure authentication with tokens.
  • Tip: Security is super important for backend development, so take your time here. Understand why and how hackers could attack your app, and build defenses accordingly.

7. Deploy Your First App

The cherry on top: deployment. You’ve built your app on your local machine—now it’s time to show it to the world. For this, you’ll use cloud services like Heroku, Vercel, or even AWS if you’re feeling adventurous.

  • Resources: Try Render's Getting Started Guide for Node.js. It’s free, easy, and reliable for small projects. You have plenty of options, but when talking about web services, mostly are paid. Even entry tiers are like $5 per month. Render have a very good free tier. Perfect for us!
  • Tip: When you deploy, you’ll face a few roadblocks (trust me). Google is your best friend. Search for your error messages, and I guarantee someone on Stack Overflow has been there before you.

Wrapping Up: What's Next?

Congratulations! After three months, you’ll have built your first backend app, learned TypeScript, handled databases, and deployed your creation to the cloud. However, don’t get too comfy just yet. Backend development is a massive field with tons of exciting things to explore—distributed systems, microservices, advanced security, and so much more. Your learning journey is just getting started.

Backend development is a long-term skill, and the more you practice, the better you'll get. Plus, a lot of what you learn in TypeScript will transfer to other programming languages if you ever decide to pick up something like Python, Ruby, Go, Java, and much more!

How to Find Good Learning Resources

With so much out there, it can be overwhelming. Here’s how to sift through the noise:

Use trusted sources like freeCodeCamp, The Odin Project, or MDN Web Docs.

Watch YouTube videos but avoid super long series when starting out. Start small and simple.

Read the docs—official documentation might seem boring at first, but it’s your best friend once you're comfortable.

Ask the community—Stack Overflow, Reddit’s r/learnprogramming, or Discord channels are great for getting help.

So, are you ready to dive in and build something awesome? You’ve got the roadmap, the resources, and the motivation. Now, go make it happen!

Published on September 10, 2024

André TreibAN