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 command-line Pokedex with a REPL, API calls, JSON parsing, and caching in Go.

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

Read reviews of their learning experiences

Challenging Course. Took a long time, but worth the grind for deep learning.

(5/5)
Thomas Parlmer profile image

Thomas Parlmer

United States

love the content, become really good at http now

(5/5)
Psyduck Loves Programming profile image

Psyduck Loves Programming

Vietnam

Fun project, i learned to put into practice interacting with a server through it's api and gracefully handling errors in go

(5/5)
Duc-Huy  profile image

Duc-Huy

France

Nice class about the basics of go for cli and api interactions

(5/5)
Marcus Heisters profile image

Marcus Heisters

Germany

Good course to practice interaction via HTTP

(5/5)
Александр Щербаков profile image

Александр Щербаков

Serbia

This guided project was a bit more challenging since the directions require you to do your own research to figure out the steps. While this did make it tougher it was worth it to get more experience working in Go!

(5/5)
Ben Hubner profile image

Ben Hubner

United States

This project I find very challenging in parts but I feel it helped get a better understanding of golang

(3/5)
simo  profile image

simo

Malta

Great project idea to explore CLI with Go. I will go further for this project.

(5/5)
Tom Louveau profile image

Tom Louveau

France

Fun little project. Learnt a lot.

(5/5)
Toms  profile image

Toms

Ireland

Showing 1-9 of 220

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.