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

Also available in:

go

Browse Lessons (read-only)

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

Read reviews of their learning experiences

the project was great. But the instructions to do was damn sh*t

(2/5)
Mohammed Muddassir Ali  profile image

Mohammed Muddassir Ali

Hyderabad

Very fun project where I could understand how fetching data can be structured into a scalable type safe system which allows efficieny in organizing api protocols and caching data.

(5/5)
Jusuf Osmanovic profile image

Jusuf Osmanovic

Finland

Good project to follow up the "Learn Typescript" and "Learn HTTP Client" courses to actually apply theory to practice.

(5/5)
OK-Kokei  profile image

OK-Kokei

Ireland

Incredibly frustrating at times but very rewarding, the end felt more or less like a victory lap. It made me realize I probably have to do the TypeScript course again at some point though.

(5/5)
Lumenality  profile image

Lumenality

Sweden

Did this in Go, so it was a great review and also good to see the differences in TypeScript!

(5/5)
Anka Mason profile image

Anka Mason

Berlin, Deutschland

Interesting project that tackles API usage and caching in memory in a REPL console app format.

(5/5)
M P profile image

M P

Somewhere

Learned a lot.

(5/5)
Abdullah Shahad profile image

Abdullah Shahad

Bangladesh

A fantastic hands-on experience with API's and TypeScript. Prepare to JSON.

(5/5)
Tyler Shetrompf profile image

Tyler Shetrompf

United States

Awesome course for basic understanding and learning extremely awesome teaches us how to work with api

(5/5)
Mitarth Pandey profile image

Mitarth Pandey

India

Showing 1-9 of 63

Browse Lessons (read-only)

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.