Express Framework Online Course
Express Framework Online Course
This course offers a comprehensive introduction to building dynamic web applications using the Express Framework, Node.js, and EJS. You'll learn to create dynamic views with template variables and control structures and understand how to define routes and handle requests in Express. You'll also gain hands-on experience with authentication and authorization using Passport.js and popular strategies like Google, Facebook, and Auth0. The course covers SQL database design, routing methods, RESTful routes, and handling form data and file uploads. You'll also learn essential middleware functions for logging, body parsing, and error handling. By the end, you'll have the skills to build secure, scalable web applications using Express, Passport, and SQL.
Key Benefits
- Acquire practical, industry-relevant experience and insights, including expert tips and strategies from an experienced developer.
- Utilize widely adopted authentication and authorization techniques, such as Google, Facebook, and Auth0, to secure your applications.
- Master in-demand technical skills essential for pursuing a career as a junior or mid-level developer.
Target Audience
This in-depth course is for web developers at all experience levels who wish to master the Express Framework and its diverse features. Through hands-on experience, you will learn to implement secure authentication and authorization in web applications using Passport and Auth0. The course is ideal for those looking to understand industry-standard techniques for securing and authenticating web applications, while also building a strong foundation in database design and implementation. While no prior programming experience is necessary, a basic understanding of JavaScript and web development is recommended.
Learning Objectives
- Leverage the EJS library to develop dynamic, responsive views for web applications.
- Utilize JavaScript, Node.js, and the Express framework to build efficient and scalable web applications.
- Implement secure authentication and authorization mechanisms in web apps using Passport.js.
- Design and construct a robust, efficient SQL database to support web application functionality.
- Develop and integrate local authentication strategies with Passport.js, including Facebook, Google, and Auth0.
- Gain expertise in routing techniques, RESTful API routes, and managing form data and file uploads within web applications.
Course Outline
The Express Framework Exam covers the following topics -
Module 1 - Setting Up the Application and Server Configuration
- Initialize the Express project and integrate necessary libraries
- Configure the Express manifest and JSON package file
- Set up server wiring for the application
- Define port settings and establish saving conventions with Express
- Launch the Express server with comprehensive error handling
Module 2 - Creating and Securing the SQLite3 Database
- Introduction to using SQLite3 for database management
- Design the database schema for SQLite3
- Implement secure user insertions with cryptographic hashing
Module 3 - Configuring Express for Routing and Application Setup
- Walkthrough of the complete configuration process for App Express
- Set up proper routing for the application
Module 4 - Utilizing EJS for Templating and Frontend Styling
- Set up EJS templating engine with routing functionality
- Apply CSS styling to EJS templates
- Design the homepage using CSS and EJS in Express
- Build and update the index page with CSS and EJS
- Explicitly create the database build directory
- Integrate JavaScript tags into EJS for dynamic content
- Final review of project structure and build
Module 5 - Securing User Authentication with Express and Passport
- Implement user login with EJS and Express authentication
- Write local strategy code for username and password authentication
- Reroute and authenticate users within the application
- Enhance style integration by importing CSS from GitHub
- Validate sessions with Passport’s local strategy
- Implement logout functionality for users
- Design and style the sign-up form with EJS
- Complete user sign-up, database entry, and apply hashing techniques
Module 6 - Integrating Google Authentication in Express and Passport
- Improve user experience by updating the homepage
- Configure Google authentication routing with Passport
- Set up Google OAuth2 credentials using GCP API
- Implement Google authentication strategy using Passport and SQLite3
- Finalize Google authentication setup on the Express server
Module 7 - Implementing Facebook Login with Express and Passport
- Set up Facebook Developer Platform and API keys
- Implement Facebook login strategy using Passport and Express
Module 8 - Integrating Auth0 for Enhanced Security
- Configure Auth0 integration with Express and Passport
- Implement the Auth0 strategy for secure authentication
Module 9 - Building a Todo Application with Routing and State Management
- Store and manage todo list items using Express and SQLite3
- Filter and map data from the database with Express routing
- Insert todo titles into the database via Express routes
- Implement state management and updates using EJS, Express routing, and locals
- Handle keycode additions for the todo list functionality
- Clear items from the app and manage routing with EJS and Express
- Complete form data routing in the Express application
- Debug SQL and EJS syntax to refine the application
- Conduct a final review of the application build, covering EJS, Express, Passport, and Node libraries