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

Build a Pokedex in TypeScript

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

Also available in:

go

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 Typescript that uses the PokeAPI to fetch data about Pokemon. It's a great way to put your Typescript 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 TypeScript.
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 TypeScript.
3
Pokedex
Bring your REPL and cache together to complete your fully functional Pokedex CLI.

Join 1,682 students in the Build a Pokedex in TypeScript course

Read reviews of their learning experiences

Awesome course

(5/5)
Michiel Peeraer profile image

Michiel Peeraer

Belgium

it was fun

(5/5)
Danil Bezgin profile image

Danil Bezgin

Lithuania

Stimulating!

(5/5)
Musa Abdulrofihi profile image

Musa Abdulrofihi

Nigeria

Awesome course! Not too hard, helps you learn a lot about handling APIs with fetch requests while not being too daunty (who doesn't like pokemon)

(5/5)
Amir Solo profile image

Amir Solo

Czechia

Nice project to get you to put those TS skills to use. Can be fun to extend and add to portfolio, especially if you're a Pokemon fan!

(5/5)
Petrut Obreja profile image

Petrut Obreja

Romania

great

(4/5)
Akshell  profile image

Akshell

France

Great for solidifying Types as a concept since you have to work with an external API

(5/5)
Aleksy Veillette profile image

Aleksy Veillette

Montreal, Canada

Very cool assignment! Setting it up and watching it come together was quite the enjoyable experience.

(5/5)
Rafael Peralta profile image

Rafael Peralta

Boston, MA

Great intro to APIs for beginners.

(4/5)
Jeffery Schoenberger profile image

Jeffery Schoenberger

Indianapolis, IN, USA

Showing 1-9 of 46

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.