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.
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.
Run and submit the CLI tests once Go is installed locally.
The Boot.dev CLI requires you to be signed in to submit your solution!
Copy/paste one of the following commands into your terminal:
Run
bootdev run dff17f87-1ce8-43ce-a43b-2cb611ce76f1
Submit
bootdev run dff17f87-1ce8-43ce-a43b-2cb611ce76f1 -s
Run the CLI commands to test your solution.
Using the Bootdev CLI
The Bootdev CLI is the only way to submit your solution for this type of lesson. We need to be able to run commands in your environment to verify your solution.
You can install it here. It's a Go program hosted on GitHub, so you'll need Go installed as well. Instructions are on the GitHub page.