Job descriptions for Node developers list a long set of tools. Nobody learns all of them at once, and no one expects it. What they expect is that you understand what each tool is for, have used one or two properly, and can learn the rest when needed. This lesson is a map of the common ones, with one working TypeScript example, so that you know where each tool fits and what to learn next.
TypeScript
TypeScript is JavaScript with types. You describe the shape of data, and the compiler warns you when code does not match it, before the program runs. In a back end this catches typos in field names, missing awaits and wrong arguments. The nice trick used below is to write the validation rule once with Zod and derive the type from it with z.infer, so the runtime check and the compile-time type can never disagree.
import express, { type Request, type Response, type NextFunction } from 'express';
import { z } from 'zod';
const createTask = z.object({ title: z.string().trim().min(1) });
type NewTask = z.infer<typeof createTask>; // the TypeScript type comes FROM the schema
interface Task extends NewTask { id: number; done: boolean }
const tasks: Task[] = [];
const app = express();
app.use(express.json());
app.post('/tasks', (req: Request, res: Response) => {
const parsed = createTask.safeParse(req.body);
if (!parsed.success) return res.status(422).json({ errors: parsed.error.flatten().fieldErrors });
const task: Task = { id: tasks.length + 1, done: false, ...parsed.data };
tasks.push(task);
res.status(201).json(task);
});
app.use((err: Error, req: Request, res: Response, next: NextFunction) => {
res.status(500).json({ error: 'Something went wrong' });
});
export default app;
{
"compilerOptions": {
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"outDir": "dist",
"noEmit": true
},
"include": ["ts46-server.ts"]
}
Install typescript and the type packages with npm install -D typescript @types/express @types/node, and compile with npx tsc. In development, tools such as tsx run TypeScript files directly. The code above compiled without errors with the TypeScript compiler. Types exist only at compile time, so they do not replace validation of requests: that is why Zod is still used.
The rest of the map
- Prisma and PostgreSQL: the SQL route shown in lesson 26. Learn tables, relations, joins, indexes and migrations. This is the most common pairing in new TypeScript back ends.
- Redis: the shared in-memory store from lessons 34 and 35 for caching, sessions, rate limits and queues. Learn strings, hashes, expiry and how to keep keys organised.
- AWS: the largest cloud. Start with four services: EC2 for virtual servers, S3 for file storage, RDS for managed databases, and IAM for access control. Learn IAM carefully, because wrong permissions cause most cloud security incidents. Other clouds, Google Cloud and Azure, work along the same lines.
- Git and GitHub: branches, pull requests and code review. Use small commits with clear messages, and never commit secrets.
- API documentation: the OpenAPI file from lesson 21, kept in the repository.
- Docker, CI/CD and monitoring: the last three lessons.
How to learn the rest without being overwhelmed
- Choose one stack and build a real project on it from start to finish. A good choice is TypeScript, Express, PostgreSQL with Prisma, Redis for caching, Docker, and GitHub Actions.
- Add each new tool only when a real need appears in your project, such as slow lists, which need a cache, or a slow email, which needs a queue.
- Write down for each tool: what problem it solves, one alternative, and one limitation. This is the form interviewers ask in.
- Put the project online with a README, a live link, and a short description of the decisions that you made. That page is your best answer to "tell me about a project".
Your resume should show this work honestly. List the tools that you used in a real project, and be ready to explain how. A short list that you can defend is stronger than a long list of names. You can build a clean, ATS-friendly resume with our resume templates, and check how it reads to an applicant tracking system with the ATS checker.
Your task
- Compile the TypeScript example and add a
GET /tasksroute with a typed response. - Make a table of the tools in this lesson with the columns problem, alternative and limitation.
- Plan a project that uses at least TypeScript, one database and one cache.
How to check it worked
tscfinishes without errors.- You can say why TypeScript types do not replace request validation.
- You can name the problem that each tool in this lesson solves.