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,372 students in the Build a Pokedex in Go course

Read reviews of their learning experiences

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

This is a great project that can be expanded to be real portfolio gem

(5/5)
GK  profile image

GK

Poland

not the hardest but definitely fun

(5/5)
om shinde profile image

om shinde

pune

Nice work. I had lot's of fun.

(5/5)
Alexander Bernhofer profile image

Alexander Bernhofer

Munich (Germany)

Pretty interesting project with a lot of scope to work on in free time. Learnt a lot about JSON parsing.

(5/5)
Mandar Upasani profile image

Mandar Upasani

Pune

Showing 1-9 of 202

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.