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

Build a Pokedex in Go

Build a REPL pokedex on the command line in Go. Learn how to use JSON, make network requests, and implement caching.

Also available in:

typescript

What will you learn?

A REPL, or Read-Eval-Print Loop, is a simple interactive programming environment that takes user input, evaluates it, and returns the result to the user. In this guided project, you'll build a Pokedex-like REPL in Go that uses the PokeAPI to fetch data about Pokemon. It's a great way to put your Go knowledge to the test and learn valuable skills like HTTP networking and data serialization.

Chapter List

1
REPL
A REPL (Read, Eval, Print Loop) is a simple interactive programming environment that takes user inputs, evaluates them, and returns the results. Learn how to implement one from scratch in Go.
2
Cache
When making network requests, one of the most common performance optimizations is to cache the results. Implement an in-memory cache for the PokeAPI in Go.
3
Pokedex
Bring your REPL and cache together to complete your fully functional Pokedex CLI.

Join 8,455 students in the Build a Pokedex in Go course

Read reviews of their learning experiences

I like this course a lot. Very good practice to learn or remember how to interact with an API and consume the info fetched.

(5/5)
Karim Chaya profile image

Karim Chaya

Rosario, Argentina

you will thank Lane when you do this course of building Pokedex as a intermediate or someone struggling with developer environment. this project exactly teaches how to manange a project in real world.

(5/5)
ham andres profile image

ham andres

India

Learned some pokedexing.

(5/5)
Infernoe , Mister profile image

Infernoe , Mister

United Kingdom

This is about working with an interesting Pokémon API.

(5/5)
Kwangpil Jung profile image

Kwangpil Jung

South Korea

re-writing this project in Go after doing it in Typescript was a fun way to have a direct contrast between both languages

(5/5)
Aleksy Veillette profile image

Aleksy Veillette

Montreal, Canada

I love Pokemon! This was really neat to be able to implement. It would be really fun to extend the capabilities. A party system, random encounters, and a battles sounds like fun. Another hit!

(5/5)
Jacob  profile image

Jacob

United States

Great course! Go was pretty new for me, so I had to use Boots quite a bit to help me through. I feel like I became much more familiar with go as a result of completing this.

(5/5)
Sam Davenport profile image

Sam Davenport

Kansas, USA

Fun way to learn API's

(5/5)
Isaac Wilkinson-Longden profile image

Isaac Wilkinson-Longden

United Kingdom

This course is really great, especially the caching lesson. It allow me to get hands on practice on using goroutine and Ticker method.

(5/5)
Wei Lok Chia profile image

Wei Lok Chia

Malaysia

Showing 1-9 of 207

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.