Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Building RESTful APIs with Node.js and Express

Board Infinity via Coursera

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course will teach you how to build RESTful APIs using Node.js and Express, two popular and widely used technologies in web development. You will learn how to create a server-side application that can handle requests from client-side applications and respond with JSON data. In the first module, participants will delve into the world of Node.js and Express, learning how to set up a development environment, explore the architecture of Node.js, and work with built-in modules. This module also covers how to use middleware, handle HTTP requests and responses, and use template engines. The second module of the course focuses on working with databases using MongoDB, a popular NoSQL database. This part will impart knowledge about connecting to a MongoDB database, creating collections and documents, and performing CRUD operations using the MongoDB driver. Participants will also learn about NoSQL databases and how to query and interact with them. The third module dives into advanced topics in Node.js and Express, such as asynchronous programming, error handling, security, and testing. This module involves understanding how to write scalable and maintainable code, handle errors and exceptions, and implement security measures. By the end of this course, you will have the skills and knowledge to create scalable, robust, and secure RESTful APIs using Node.js and Express. Whether you are a beginner or an experienced developer, this course will equip you with the tools you need to build modern web applications with confidence.

Syllabus

  • Introduction to Node.js and Express
    • This module will introduce you to Node.js and Express, two fundamental technologies for building modern web applications. You will learn how to set up your development environment, install Node.js and NPM, and create your first Node.js application. You will start by exploring the features of Node.js and its unique architecture, including the event loop and non-blocking I/O model. You will also learn how to use the built-in modules and NPM to install and manage dependencies. Next, you will dive into Express, a popular web framework built on top of Node.js. You will learn how to install and configure Express, create a simple web server, and handle HTTP requests and responses. In this module, you will also learn how to use middleware to add functionality to your Express application, including logging, error handling, and parsing request bodies. You will also learn how to use template engines to render dynamic views and serve static files. By the end of this module, you will have a solid understanding of the basics of Node.js and Express, and be ready to dive deeper into building RESTful APIs in the following modules.
  • Working with Databases and MongoDB
    • This module will teach you how to work with databases in Node.js using MongoDB, a popular NoSQL database. You will learn how to connect to a MongoDB database, create collections and documents, and perform CRUD operations using the MongoDB driver. You will start by understanding the basics of NoSQL databases and their advantages over traditional relational databases. You will learn how to set up and configure MongoDB, and how to interact with it using the command line and the MongoDB Compass GUI. Next, you will learn how to use the MongoDB driver in Node.js to perform CRUD operations on the database, including inserting, updating, and deleting documents. You will also learn how to query the database using the MongoDB query language and perform aggregation operations. By the end of this module, you will have the skills and knowledge to work with databases in Node.js using MongoDB. You will be able to create and interact with databases and perform CRUD operations using the MongoDB driver.
  • Advanced Topics in Node.js and Express
    • This module will cover advanced topics in Node.js and Express, including asynchronous programming, error handling, security, and testing. You will learn how to write scalable and maintainable code, handle errors and exceptions, and implement security measures to protect your application. You will start by understanding the importance of asynchronous programming in Node.js, and how to use callbacks, promises, and async/await to handle asynchronous operations. You will also learn how to use the async module to manage asynchronous control flow and avoid callback hell. Next, you will learn how to handle errors and exceptions in your Node.js and Express applications, including using try/catch blocks, error middleware, and global error handling. You will also learn how to use logging frameworks to log errors and monitor your application. By the end of this module, you will have the skills and knowledge to write scalable, maintainable, and secure Node.js and Express applications, and be able to write automated tests to ensure the quality of your code.

Taught by

Board Infinity

Reviews

Start your review of Building RESTful APIs with Node.js and Express

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.