This course guides you from setting up a web server to creating server-based and serverless applications using Express and Node.js. Starting with Node.js basics and its filesystem, you'll then:
- Learn to optimize and refactor code, set up a server, and understand Express.js fundamentals
- Explore Express.js, by working on a project with CRUD operations and building a serverless app with API requests.
- Learn to set up routes, handle post requests, use middleware, authenticate users with Express and Passport, and use Handlebars for templating.
- Gain hands-on experience with databases, hashing, salting, and user authentication.
By the course's end, you'll confidently build web applications and serverless apps with Express and Node.js, reinforced by code-along sessions, quizzes, and solution files. Ideal for aspiring programmers, web developers, students, or professionals, some JavaScript and web development familiarity is recommended. ​​
Overview
Syllabus
- Introduction to the Course
- In this module, we will provide an overview of the course content, including the benefits of learning Node.js, its installation process, and its key features. You'll also get hands-on experience setting up a Node.js environment and writing your first Node.js code.
- Introduction to Node.js Filing System
- In this module, we will delve into the Node.js file system. You will learn to perform various file operations such as reading, writing, appending, and deleting files. We'll also cover handling errors and the differences between asynchronous and synchronous file handling.
- Introduction to Express
- In this module, we will explore Express.js, a popular web application framework for Node.js. You will learn how to set up a new project, manage dependencies, and build a simple web server. This module sets the foundation for developing robust web applications using Express.
- Express API Project from Scratch
- In this module, we will guide you through the process of building an API from scratch using Express.js. You'll set up your development environment, create a web server, and learn how to handle various HTTP requests to manage data. This project will solidify your understanding of API development with Express.
- Templating Engines with Express.js
- In this module, we will focus on templating engines, specifically Handlebars, and how to use them with Express.js. You'll learn to set up static directories, configure views and layouts, and create reusable components for dynamic web pages. This module enhances your ability to build interactive and well-structured web applications.
- Authenticating Username and Password with Express and Passport
- In this module, we will cover user authentication in Express.js applications using Passport.js. You'll learn how to implement local strategies for handling login and signup, secure user information with hashing and salting, and manage user sessions. This module is crucial for building secure and user-friendly applications.
Taught by
Packt - Course Instructors