TypeScript Roadmap
A step-by-step TypeScript roadmap: what to learn in order, the related skills and the best places to learn each step.
The stack, end to end
- Frontend: JavaScript, DOM and events, Promises and async/await, ES modules, Fetch API, TypeScript, Interfaces and types, Generics
- Backend: Node.js, npm, Asynchronous programming, Environment variables
- Testing: Unit testing, Integration testing, Test-driven development
JavaScript
JavaScript makes pages interactive and also runs on servers. Learn the language properly: types, functions, scope, objects and arrays, the DOM, events, promises and async/await, and modules.
Skills
- JavaScript
- DOM and events
- Promises and async/await
- ES modules
- Fetch API
Tips
- Build small things (a to-do list, a quiz, a weather widget) before jumping to a framework.
Where to learn
- javascript.info (course, free)
- MDN: JavaScript (docs, free)
- The Odin Project: JavaScript (course, free)
TypeScript
TypeScript adds types to JavaScript so many mistakes are caught before the code runs. It is now common in frontend and Node.js teams. Learn basic types, interfaces, generics and how to type API data.
Skills
- TypeScript
- Interfaces and types
- Generics
Tips
- Turn a small JavaScript project into TypeScript to learn quickly.
Where to learn
- TypeScript documentation (docs, free)
- TypeScript handbook (book, free)
Node.js
Node.js runs JavaScript on the server. Learn modules, the file system, environment variables, asynchronous code, and building a server that talks to a database.
Skills
- Node.js
- npm
- Asynchronous programming
- Environment variables
Tips
- Keep secrets such as API keys in environment variables, never in code you commit.
Where to learn
- Node.js: Learn (docs, free)
- The Odin Project: NodeJS (course, free)
Unit and integration testing
Automated tests catch mistakes early and let you change code with confidence. Learn to write unit tests, use mocks sensibly and test your API and database together.
Skills
- Unit testing
- Integration testing
- Test-driven development
Tips
- Write a test for every bug you fix so it cannot come back unnoticed.
Where to learn
- The Practical Test Pyramid (book, free)
- pytest documentation (docs, free)
- JUnit 5 user guide (docs, free)
Frequently asked questions
Where should I start with TypeScript?
Start at step 1 and work down in order, because later steps build on earlier ones. If you are signed in, the roadmap compares your resume with each step and marks where you could start.
Is TypeScript worth learning?
Check how many job adverts in your area mention TypeScript, and whether it fits the kind of work you want. This roadmap shows what to learn; the Browse jobs page shows what employers are asking for.
How do I know I am ready to apply?
When you can build a small project from start to finish without copying a tutorial, and explain why you made your choices. Apply while you keep learning; you do not need to know everything.