Home/Courses/Software Development/Backend Development
Intermediate Basic JavaScript familiarity

Building RESTful APIs with Node.js and Express

Build practical backend skills with Node.js and Express by creating RESTful APIs, connecting MongoDB, working with asynchronous code, handling errors and implementing JWT-based authentication.

Enroll on Coursera
1 week · 10 hours a week 3 modules · 40 lessons 10 assignments · 1 peer review English · 7 languages
Want a mentor alongside the course? See 1:1 coaching
routes/books.js 12345678910 const express = require('express') const router = express.Router() router.get('/api/books', auth, async (req, res) => { const books = await Book.find({ owner: req.user.id }) res.status(200).json({ count: books.length, books }) }) module.exports = router $ node app.js MongoDB connected Server listening on port 3000 Course preview · a route, a query, a token

Building RESTful APIs with Node.js and Express

By Board Infinity · Offered on Coursera

4.6 (12 reviews) 4,018 already enrolled
  • 40 video lessons · 10 readings
  • 10 assignments · 1 peer-reviewed project
  • Shareable certificate on completion
  • Flexible schedule - fully self-paced
Enroll on Coursera

Every concept on screen

40 short lessons, each one demonstrated in a live editor

Certificate included

Shareable on LinkedIn the day you finish

Graded, not just watched

10 assignments and a peer-reviewed final project

6 Lakh+learners on our Coursera courses
10+domains covered
270+courses
57+specializations
01 About the course

From a first Express route to a secured REST API.

A practical foundation for building REST APIs with Node.js, Express and MongoDB - stand the server up, give it a database, then make it asynchronous, resilient and secure.

3
Modules
Intermediate level
40
Video lessons
English · 7 languages
10
Assignments
Plus 1 peer-reviewed project
1 week
At 10 hours a week
Flexible schedule · certificate

Building RESTful APIs with Node.js and Express is a practical foundation for building REST APIs with Node.js, Express and MongoDB. It starts with what Node.js actually is - its architecture, the event loop, non-blocking I/O, the built-in modules and NPM - and has you running an Express server and answering HTTP requests before anything else.

The progression is deliberate: Introduction to Node.js and Express → Working with Databases and MongoDB → Advanced Topics in Node.js and Express. You move from setting up Node.js and Express servers, to MongoDB CRUD operations and queries, and then to asynchronous programming, error handling and JWT authentication.

It assumes basic JavaScript familiarity and nothing more. Coursera's guidance is roughly one week at ten hours a week, fully self-paced, and the course closes with a peer-reviewed Node.js and MongoDB application you build yourself.

02 Who it's for

For developers who read JavaScript and want to build the backend.

The course is open to developers with basic JavaScript familiarity - no backend experience assumed, and no starting from zero either.

Frontend developers

Moving into backend work

You build interfaces against APIs somebody else wrote. This is the course where you write them - routes, middleware, a database and an authentication layer.

Aspiring backend developers

Starting server-side properly

Node.js architecture and REST come first, so you understand why an API is shaped the way it is before you start putting endpoints on one.

JavaScript developers

One language, both sides

You already have the syntax. This adds the runtime, the framework, the database and the security that sits around them.

Web developers

Who want to build REST APIs

From HTTP methods and REST architecture through MongoDB CRUD to JWT - the whole path to an API you would be willing to deploy.

03 What you'll learn

Four capabilities, in the order they build.

These are the course's own learning outcomes - what you leave able to do, from an empty project folder.

Module 1

Stand up an Express server

Build a working Express server using Node.js architecture, routing, and middleware.

Module 2

Power the API with MongoDB

Apply MongoDB CRUD operations and queries to power a Node.js REST API.

Module 3

Write robust asynchronous code

Develop asynchronous code using promises and async/await for robust API performance.

Module 3

Secure it with JWT

Design a secure, JWT authenticated REST API as your Express REST API capstone project.

1:1 coaching · optional add-on

Build your first API with someone in your corner.

A dedicated coach who ships Node.js services for a living - someone who can look at the 500 you have stared at for an hour and tell you why.

Book a demo session
  • A coach matched to your goal in 24 hours
  • A written roadmap you keep
  • Weekly sessions for as long as you want them

60-minute demo session · 100% refundable · no obligation to continue

Get unstuck in minutes

The middleware that never fires, the Mongo connection that hangs - explained by someone who has seen it before.

Your API read route by route

Not just whether it returns 200 - whether you would want to maintain it in six months.

Practice beyond the quizzes

Extra endpoints set for you, then reviewed, so Express turns from syntax into fluency.

Aim it at a role

Which backend path fits you - Node services, API platform work or full-stack MEAN - and what to learn next.

2,000+Industry coaches
16Domains covered
4.8/5Average coach rating
48,000+Sessions delivered
04 Syllabus

Three modules, from your first route to a secured API.

One week at ten hours a week, fully self-paced. Every module below lists its learning objectives, every lesson with its duration, and what you leave with.

40 videos 10 readings 10 assignments 1 peer review ≈ 12 hours Download full syllabus

This module introduces Node.js and Express as fundamental technologies for building modern web applications.

Learning objectives - by the end of this module you can:
  • Explain what Node.js is - its architecture, the event loop and non-blocking I/O
  • Use Node.js built-in modules and NPM to assemble a web application
  • Set up an Express server and handle HTTP requests and responses
  • Explain REST architecture and build a simple RESTful API with middleware
What's inside
11 videos40 min
3 readings70 min
3 assignments90 min
Topics covered
Node.js Node.js architecture Event loop Non-blocking I/O Built-in modules NPM Express Express server setup HTTP requests & responses REST architecture RESTful APIs Middleware Building a simple RESTful API
Videos11 videos · 40 min
01Course Introduction1 min
02Instructor Introduction1 min
03What you will learn in this Lesson1 min
04What is Node.js?6 min
05Features of Node.js5 min
06NodeJS usage for building Web Application4 min
07What you will learn in this Lesson1 min
08What is REST architecture?4 min
09HTTP methods- GET, PUT, Delete, POST5 min
10RESTful APIs usage for web building Web Application4 min
11Building a simple RESTful API8 min
Readings3 readings · 70 min
01Read more about Node JS30 min
02Read more about RESTful APIs30 min
03Tell us what you think!10 min
Assignments3 assignments · 90 min
01Node JS - Graded Quiz60 min
02Node JS - Practice Quiz15 min
03Understanding the role of Express in building RESTful APIs Practice quiz15 min
You leave with: a running Express server, a working picture of Node.js architecture, and your first RESTful API answering GET, POST, PUT and DELETE.

This module teaches learners how to work with databases in Node.js using MongoDB, a popular NoSQL database.

Learning objectives - by the end of this module you can:
  • Explain what MongoDB is, and how a NoSQL database differs from an RDBMS
  • Install MongoDB and connect it to a Node.js API through the MongoDB driver
  • Perform CRUD operations on collections and documents - insert, find, update, delete
  • Write MongoDB queries, including covered queries, behind an Express endpoint
What's inside
13 videos64 min
3 readings55 min
4 assignments105 min
Topics covered
NoSQL databases MongoDB RDBMS vs MongoDB MongoDB installation MongoDB connection Connecting MongoDB to an API Collections Documents CRUD operations MongoDB queries Aggregation MongoDB driver
Videos13 videos · 64 min
01What you will learn in this Lesson1 min
02What is MongoDB?5 min
03RDBMS VS MongoDB9 min
04Advantages & Disadvantages5 min
05What you will learn in this Lesson1 min
06Install MongoDB6 min
07Connecting MongoDB to API10 min
08What you will learn in this Lesson1 min
09MongoDB - Insert Document7 min
10MongoDB - Find Method4 min
11MongoDB - Update Method6 min
12MongoDB - Delete Document4 min
13MongoDB - Covered Queries5 min
Readings3 readings · 55 min
01Learn more about MongoDB15 min
02Read more on Set up & connecting with API10 min
03Learn more about CRUD operations30 min
Assignments4 assignments · 105 min
01MongoDB - Graded Quiz60 min
02MongoDB - Practice Quiz15 min
03Installation & API - Practice Quiz15 min
04Building CRUD operations with MongoDB and Express practice quiz15 min
You leave with: a MongoDB database wired into your Express API, with full CRUD operations and queries running against real collections.

This module covers advanced topics in Node.js and Express, including asynchronous programming, error handling, security, authentication and maintainable backend development.

Learning objectives - by the end of this module you can:
  • Write custom and third-party middleware, and place it correctly in the request cycle
  • Handle application errors with custom API errors such as BadRequestError and NotFoundError
  • Explain authentication and authorization, and where JSON Web Tokens and Passport.js fit
  • Implement JWT authentication and build a final Node.js and MongoDB application
What's inside
16 videos83 min
4 readings80 min
3 assignments45 min
1 peer review120 min
Topics covered
Middleware Third-party middleware Error handling Application errors Custom API errors Authentication Authorization JSON Web Tokens Passport.js JWT implementation Secure API development Final application project
Videos16 videos · 83 min
01What you will learn in this Lesson1 min
02What is Middleware?7 min
03Third Party Middleware5 min
04What you will learn in this Lesson1 min
05Overview of Error Handling8 min
06Missing Field Error3 min
07Unique Field Error3 min
08Check for empty values in a controller4 min
09CustomAPIError4 min
10BadRequestError and NotFoundError5 min
11What you will learn in this Lesson1 min
12What is Authentication and Authorization7 min
13What is JSON Web Token (JWT)9 min
14Why using Authentication and Authorization5 min
15What is Passport.js and its applications7 min
16Implement Authentication using JWT13 min
Readings4 readings · 80 min
01Learn more about Middlewares10 min
02Further readings on Handling Errors30 min
03Learn more about Authentication and Authorization30 min
04Provide your feedback!10 min
Assignments3 assignments · 45 min
01Middleware - Practice Quiz15 min
02Handling Errors - Practice Quiz15 min
03Authentication and Authorization - Practice Quiz15 min
Peer-reviewed project1 project · 120 min
01Final Assignment - Building a Node.js and MongoDB Web Application120 min
You leave with: a secured REST API - middleware, custom error handling and JWT authentication - plus a finished Node.js and MongoDB application reviewed by your peers.

Lesson titles and durations are taken from the course as it is published on Coursera and may be updated by the instructor. Download the full syllabus as a PDF.

05 Tools & skills

The tools you work in, and the skills you leave with.

Coursera lists three tools for this course - Middleware, MongoDB and Node.JS - and every one of them is set up and demonstrated on screen.

The runtime

Node.JS

The whole backend. Architecture, the event loop, non-blocking I/O, built-in modules and NPM.

The framework

Express

Where the API lives - server setup, routing, HTTP requests and responses, and the middleware chain.

The database

MongoDB

The NoSQL store behind the API - collections, documents, CRUD operations and queries.

The request cycle

Middleware

Custom and third-party middleware, error handling, and the JWT layer that guards your routes.

Skills you leave with

The capabilities this course builds, grouped the way the work actually splits - standing the server up, giving it data, and making it safe to expose.

Building the server

Getting a request in and a response out.

  • Node.js
  • Express
  • Server-side development
  • REST APIs
  • API development

Working with data

Holding it, finding it, changing it.

  • MongoDB
  • CRUD operations
  • MongoDB queries
  • Backend development

Making it production-ready

Asynchronous, resilient and authenticated.

  • Middleware
  • Asynchronous programming
  • Authentication
  • Authorization
  • JSON Web Tokens (JWT)
Certificate

Proof you can link to.

Complete the course successfully and Board Infinity issues a shareable certificate through Coursera - with a public verification link, and a one-click path onto your LinkedIn profile, resume or CV.

Issued on successful completion of the 10 assignments and the peer-reviewed final project. It is a Board Infinity course certificate, not an official Node.js, Express or MongoDB certification.

On your profile in one click

Filed under Licenses & Certifications, where recruiters actually look.

Anyone can verify it

Its own verification link, so a hiring manager confirms it in seconds.

Earned, not attended

Awarded on 10 assignments and a peer-reviewed API project - it certifies what you built.

Two names on it

Board Infinity as the provider, Coursera as the platform.

06 Career impact

Every product needs someone who can build the API.

Node.js, Express and MongoDB sit under a large share of modern web products. These are the roles that ask for them by name.

Where these skills are in demand

Backend Developer

The direct line. Routing, middleware, a database and an auth layer are the daily shape of the job, and they are what this course builds.

Node.js Developer

Architecture, the event loop and non-blocking I/O are the first things asked about - and the first things module one covers.

Express.js Developer

Express is the default Node framework. Server setup, routing and the middleware chain are exactly what the role is built on.

API Developer

REST architecture, HTTP methods, status codes and authentication - the vocabulary of designing an interface other teams consume.

JavaScript Backend / Software Developer

One language across the stack. If you already write JavaScript, this is the shortest route to being useful server-side.

Full-Stack Developer

This is the half most frontend developers are missing. It is also the course that sits inside the MEAN stack specialization.

The honest comparison

Node, Express and MongoDB are all free. So what is this?

Every topic here exists free somewhere on the internet, and nobody is pretending otherwise. What a course adds is the order you meet them in, the checking that makes them stick, and something to show at the end. It is also honest about its size: one week at ten hours a week is a foundation, not a substitute for production backend experience.

What you get
This course
Random tutorials
A sequenced pathNode + Express → REST → MongoDB → CRUD → middleware → errors → auth → JWT
3 modules that build on each other
Whatever the algorithm shows you next
Express with a real databaseNot an array pretending to be one
MongoDB installed, connected and queried
Express taught with no database at all
MongoDB wired to an endpointCRUD behind actual routes
Insert, find, update, delete driving the API
MongoDB in a shell, never connected
Middleware you understandRather than copied and hoped over
Custom and third-party, explained first
Pasted examples you cannot debug
Authentication built inNot a separate weekend project
JWT implemented inside the API you wrote
JWT learned alone, never wired into anything
Someone checkingLearning that sticks
10 assignments and a peer-reviewed project
You never find out what you missed
Proof for recruitersVerifiable, on LinkedIn
Certificate with a verification link
Nothing to show
07 Where to go next

This is the base. Here is what it unlocks.

These are suggested next directions, not topics taught inside this course. The course itself sits in the Learning MEAN Stack by Building Real world Application specialization.

Board Infinity runs 270+ courses and 57 specializations on Coursera - browse the full catalogue.

Know exactly what you're signing up for.

3 modules · 40 lessons · 10 assignments · free PDF

08 FAQ

Common questions

Everything learners ask before enrolling, answered plainly.

About the course

It is a practical foundation for building REST APIs with Node.js, Express and MongoDB. Across three modules you set up Node.js and Express servers, learn REST architecture and HTTP methods, connect MongoDB and run CRUD operations and queries against it, and then move on to asynchronous programming, error handling and JWT authentication. It ends with a peer-reviewed Node.js and MongoDB application you build yourself.

Developers with basic JavaScript familiarity who want to work server-side: frontend developers moving into backend work, aspiring backend developers, web developers and JavaScript developers who want to learn Node.js and Express and build REST APIs.

Basic JavaScript familiarity is the recommended experience, and Coursera lists the course at intermediate level. You do not need prior backend or Node.js experience - module one starts at what Node.js is - but this is not a first-ever programming course either.

Yes. Module one covers what Node.js is, its architecture, the event loop, non-blocking I/O, the features that make it suited to web applications, its built-in modules and NPM.

Yes. Express is introduced in module one - setting up an Express server, handling HTTP requests and responses, routing and middleware - and it is the framework every later module builds on.

Yes - that is the point of the course. Module one covers REST architecture, the HTTP methods GET, PUT, POST and DELETE, how RESTful APIs are used in web applications, and walks through building a simple RESTful API.

Yes. Module two is dedicated to it: what MongoDB is, how it compares with an RDBMS, its advantages and disadvantages, installing it, and connecting it to your API.

All four, one lesson at a time: inserting documents, the find method, the update method and deleting documents - plus covered queries. The module's practice quiz has you build CRUD operations with MongoDB and Express together.

Middleware is a function that sits between the incoming request and your route handler - it can read or change the request, end the response, or pass control on. The course covers it twice: as part of building a RESTful API in module one, and in depth in module three, including third-party middleware.

Yes. Module three has a full lesson sequence on it: an overview of error handling, missing field and unique field errors, checking for empty values in a controller, CustomAPIError, and BadRequestError and NotFoundError.

Yes. Module three explains what authentication and authorization are, why an API needs both, and then implements them - ending with JWT authentication on the API you have built.

A JSON Web Token is a signed, self-contained token a server issues after a successful login and a client sends back with later requests, so the API can tell who is calling without holding a session. The course has a dedicated lesson on what JWT is and another on implementing authentication with it.

It is introduced. Module three includes a lesson on what Passport.js is and its applications, alongside the JWT work - enough to know what it does and when you would reach for it.

A peer-reviewed final assignment: Building a Node.js and MongoDB Web Application, allowed 120 minutes. It is the capstone for the course - a secure, JWT authenticated REST API that pulls the three modules together.

Format, schedule & certificate

Coursera's guidance is 1 week at 10 hours a week. The three modules are listed at roughly 3, 4 and 5 hours. It is fully self-paced, so spreading it across a few evenings and weekends is completely normal.

Three: Introduction to Node.js and Express, Working with Databases and MongoDB, and Advanced Topics in Node.js and Express. Together they hold 40 video lessons and 10 readings.

Ten assignments across the three modules - a mix of graded and practice quizzes - plus one peer-reviewed final project, which is assessed differently from the quizzes.

Yes. The schedule is flexible and deadlines can be reset, so you move at whatever pace your week allows. The course is available in English, with 7 languages available on Coursera.

Yes - a shareable certificate on successful completion, issued by Board Infinity through Coursera with its own verification link. Coursera's one-click button adds it to the Licenses & Certifications section of your LinkedIn profile, and you can add it to a resume or CV. It is a course certificate, not an official Node.js or MongoDB certification.

Yes - this page is Board Infinity's own overview of our course. Enrollment, payment, video lessons, grading and the certificate all happen on Coursera, where the course is hosted. It is part of the Learning MEAN Stack by Building Real world Application specialization.

Want someone building this with you?

Board Infinity 1:1 coaching pairs you with a practitioner while you take the course.

See 1:1 coaching
Building RESTful APIs with Node.js and Express Enroll