We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Welcome to Build a Pokedex

We're going to build a Pokedex in a command-line REPL. We'll use the incredible PokéAPI to fetch all of the data we'll need using GET requests. If you're not familiar with Pokemon, or a Pokedex, that's okay! A Pokedex is just a make-believe device that lets us look up information about Pokemon - things like their name, type, and stats.

for Windows Users

If you try to complete this course without WSL 2 installed on Windows, you're gonna have a bad time.

Learning Goals

  • Learn how to parse JSON in Go
  • Practice making HTTP requests in Go
  • Learn how to build a CLI tool that makes interacting with a back-end server easier
  • Get hands-on practice with local Go development and tooling
  • Learn about caching and how to use it to improve performance

Assignment

Before we dive into the project, let's make sure you have everything you'll need on your machine. This is a simple Golang project, so all you'll need is the latest Go toolchain.

Submit the CLI tests once Go is installed locally. There's no penalty on failure for this lesson.