Backend Web Development with TypeScript
Ends soon! Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Backend Web Development with TypeScript
This course is part of Modern Web Development with TypeScript Specialization
Included with
Recommended experience
Recommended experience
Skills you'll gain
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
This course provides a guide to building backend systems with Node.js and TypeScript, combining strong typing with modern server-side practices. It demonstrates how TypeScript improves reliability, security, and scalability in backend projects by enforcing type safety and consistency across routes, middleware, databases, and authentication flows.
Through hands-on lessons and real-world demonstrations, you’ll start by setting up Node.js projects with TypeScript, configuring linting, formatting, and logging tools. You will then learn to build secure and maintainable servers using Express, define typed APIs and middleware, and implement error handling patterns. The course progresses to integrating MongoDB with Mongoose, where you’ll create typed schemas, models, and perform CRUD operations with validation, indexing, and transactions. Finally, you’ll explore authentication with JWTs, role-based access control (RBAC), and automated testing with Jest to ensure backend reliability. By the end of this course, you will be able to: Initialize and configure Node.js projects with TypeScript, ESLint, Prettier, and strict compiler settings. Build Express servers with typed routes, middleware, error handling, and APIs. Design and validate MongoDB schemas and models with Mongoose in TypeScript. Perform CRUD operations, query optimization, and transactions with strong typing. Implement secure authentication using JWTs and enforce role-based access control. Write unit and integration tests with Jest to validate controllers, routes, and database operations. Develop a production-ready backend system where TypeScript ensures maintainability, security, and long-term scalability. This course is ideal for JavaScript and Node.js developers who want to strengthen their backend skills with enterprise-level TypeScript practices. A solid understanding of JavaScript, Node.js basics, and OOP in TypeScript is recommended before starting. Join us to master backend development with TypeScript and learn how to design secure, scalable, and production-grade APIs!
This module introduces you to building Node.js applications with TypeScript. You’ll learn the importance of TypeScript in backend development, how to initialize a Node.js project, and set up a clean development environment with ESLint and Prettier. Through guided demos, you’ll install and configure TypeScript, define project folder structures, and implement basic logging and monitoring practices. By the end, you’ll have a solid foundation for starting TypeScript-based Node.js projects with best practices in place.
What's included
14 videos4 readings3 assignments
14 videos•Total 51 minutes
- Specialization Overview•6 minutes
- Course Intro•3 minutes
- Why Use TypeScript with Node.js•3 minutes
- Linting & Formatting (ESLint and Prettier)•4 minutes
- Hands-On: Initializing a Node.js Project with npm init•3 minutes
- Hands-On: Installing TypeScript and Node.js•4 minutes
- Hands-On: Setting Up Folder Structure for TypeScript Files•3 minutes
- Hands-On: Logging & Monitoring•5 minutes
- Express Overview and Features•5 minutes
- Hands-On: Installing and Setting Up Express•3 minutes
- Hands-On: Defining Routes and Middleware in Express•3 minutes
- Hands-On: Handling Errors in Express•3 minutes
- Hands-On: Building a Basic API with TypeScript and Express•3 minutes
- Hands-On: Advanced Middleware and Error Handling Patterns•4 minutes
4 readings•Total 40 minutes
- Course Outline: TypeScript in Backend Development with Node.js•10 minutes
- Initializing Node.js Project with TypeScript•10 minutes
- Building an Express Server•10 minutes
- Summary of Setting Up Node.js with TypeScript•10 minutes
3 assignments•Total 42 minutes
- Knowledge Check: Setting Up Node.js with TypeScript•30 minutes
- Practice Quiz: Initializing Node.js Project with TypeScript•6 minutes
- Practice Quiz: Building an Express Server•6 minutes
This module focuses on integrating MongoDB, a popular NoSQL database, with TypeScript applications using Mongoose. You’ll start by learning the fundamentals of MongoDB and how to set up local and cloud-based databases. Then, you’ll create schemas and models with Mongoose, validate data, and implement CRUD operations in TypeScript. Advanced topics such as query optimization, indexing, aggregation pipelines, and transactions will help you build scalable and efficient database solutions. By the end, you’ll be able to design and manage NoSQL databases seamlessly within your Node.js projects.
What's included
12 videos4 readings4 assignments
12 videos•Total 37 minutes
- Why MongoDB and Terminology•3 minutes
- Hands-On: Installing MongoDB (Local & Atlas)•2 minutes
- Hands-On: Installing and Connecting Mongoose•3 minutes
- Schemas and Models Overview•4 minutes
- Hands-On: Creating Schemas with Mongoose and Defining Models•2 minutes
- Hands-On: Validating Data with Mongoose Schemas•2 minutes
- CRUD Operations in MongoDB vs SQL•5 minutes
- Hands-On: Creating and Reading Documents•2 minutes
- Hands-On: Updating and Deleting Documents•2 minutes
- Hands-On: CRUD Operations with Mongoose in TypeScript•5 minutes
- Hands-On: Query Optimization & Indexing in MongoDB•3 minutes
- Hands-On: Aggregation Pipelines and Transactions•3 minutes
4 readings•Total 50 minutes
- Setting Up MongoDB and Mongoose•10 minutes
- Defining Schemas and Models•10 minutes
- Working with MongoDB Data•10 minutes
- NoSQL Database with TypeScript•20 minutes
4 assignments•Total 48 minutes
- Knowledge Check: NoSQL Database with TypeScript•30 minutes
- Practice Quiz: Setting Up MongoDB and Mongoose•6 minutes
- Practice Quiz: Defining Schemas and Models•6 minutes
- Practice Quiz: Working with MongoDB Data•6 minutes
This module covers the critical aspects of securing Node.js applications. You’ll begin by implementing JSON Web Token (JWT)-based authentication to protect your APIs. Next, you’ll learn to design role-based access control (RBAC) and apply middleware to restrict access based on user roles. Finally, you’ll explore testing strategies using Jest, including writing unit tests, mocking database calls, and testing API endpoints. By the end of this module, you’ll be able to develop production-ready, secure APIs with robust authentication, authorization, and automated test coverage.
What's included
14 videos4 readings4 assignments
14 videos•Total 57 minutes
- JWT Concepts and Structure•3 minutes
- Hands-On: Installing JWT Libraries and Generating Tokens for Authentication•5 minutes
- Hands-On: Securing Routes with JWT Middleware•5 minutes
- Hands-On: Implementing Full JWT Authentication Flow•3 minutes
- Designing User Roles in DB Schema•4 minutes
- Hands-On: Implementing Role-Based Middleware•3 minutes
- Hands-On: Securing Routes Based on Roles•3 minutes
- Hands-On: Testing RBAC in ThunderClient•2 minutes
- Why Jest for Testing TypeScript Backends•4 minutes
- Hands-On: Setting Up Jest with TypeScript•3 minutes
- Hands-On: Writing Unit Tests for Controllers and Routes•6 minutes
- Hands-On: Mocking Database Calls in Tests•4 minutes
- Hands-On: Testing Strategies for APIs in TypeScript•5 minutes
- Hands-On: Simple HR Leave Management System•5 minutes
4 readings•Total 45 minutes
- Secure Authentication with JWTs•10 minutes
- Implementing Role-Based Access Control (RBAC)•10 minutes
- Testing Node.js Applications with Jest•10 minutes
- Summary: Building Secure APIs with Auth and Roles•15 minutes
4 assignments•Total 48 minutes
- Knowledge Check:Building Secure APIs with Auth and Roles•30 minutes
- Practice Quiz: Secure Authentication with JWTs•6 minutes
- Practice Quiz: Implementing Role-Based Access Control (RBAC)•6 minutes
- Practice Quiz: Testing Node.js Applications with Jest•6 minutes
This module covers the consolidation of all concepts learned throughout the course. You will review key takeaways, complete a guided practice project, and test your knowledge with assessments, ensuring you can confidently apply TypeScript in Backend development with Typescript.
What's included
1 video2 readings2 assignments1 discussion prompt
1 video•Total 2 minutes
- Course Summary: Backend Development with Typescript•2 minutes
2 readings•Total 30 minutes
- Practice Project: Expense Tracker•15 minutes
- From Setup to Secure Backends: A Complete Journey with Node.js and TypeScript•15 minutes
2 assignments•Total 60 minutes
- Setting Up Node.js with TypeScript – Scenario Assignment•30 minutes
- End Course Knowledge Check: Modern Backend Development with TypeScript•30 minutes
1 discussion prompt•Total 10 minutes
- Describe your Learning Journey•10 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Explore more from Software Development
Course
- E
Edureka
Course
- E
Edureka
Course
Why people choose Coursera for their career
Frequently asked questions
You should have a solid understanding of JavaScript, familiarity with Node.js basics (npm, modules, running simple servers), and knowledge of object-oriented programming in TypeScript (classes, interfaces, inheritance). A basic awareness of React is optional but not required.
You don’t need to be an expert, but having basic knowledge of how databases work (tables vs. collections, CRUD operations) will help. The course introduces MongoDB and Mongoose step by step, including setup, schemas, validation, and queries.
TypeScript provides compile-time safety, consistent data contracts, and better tooling support. For backend systems, this means fewer runtime crashes, more predictable APIs, and easier collaboration across teams.
More questions
Financial aid available,
¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.
