
Initialize an express project from the ground up to power a stateful exercise app with authentication and a SQLite database using express routes and a templating engine.
Configure the Express project manifest and package file with description, author, and SEO keywords. Organize scripts, set the main entry, and create a bin folder to host the server securely.
Configure a modular express app by separating the app logic from the server, include cookie-parser, morgan for logging, sqlite store, and export the app for later startup.
Create an http server and import the app to run with express. Configure and normalize port 3000, then listen with error handling; set up a .gitignore for secrets and node_modules.
Launch and secure your Express server by implementing port normalization and error handling, wiring on listening events, using debug, and preparing SQLite database setup for authentication in the next lesson.
Explore sqlite3, a compact free database ideal for quick full-stack testing. Learn its self-contained design, broad SQL standards support, and its limits on large data and high concurrency.
Create a sqlite3 database schema with users, federated credentials, and exercises tables in a node express setup, including hashed_password, email verification, and integer ids for state tracking.
Securely hash new users with pbkdf2 sha-256 and a random salt, then insert into the users table, preparing express session and passport authentication.
Configure and wire a complete express app with middleware, session handling, and passport authentication. Serve static public assets and implement 404 and development error handling for a robust Node.js server.
set up routing in the express app by creating routes and a home page with an index route, and install express-session to enable middleware and views.
Set up an express app with ejs templates, create a views folder and home.ejs, and wire routing and authentication powered by passport to render a dynamic exercise app.
learn to style an express-based app by creating base and home css files, linking them in html, and applying a radial gradient background, typography, margins, borders, and button styles.
Style the home page for an express and ejs app by creating an info class, adjusting margins and font sizes, and turning the start link into a hoverable button.
Create the index page for an exercise to-do app using Express and EJS, including logout, add activity form, and filters, while preparing authentication routing and session checks.
Style the index app by customizing index.css with margins, fonts, colors, and responsive width. Apply shadows, headers, and footer tweaks to unify the UI while setting up groundwork for authentication.
Finalize the exercise app by completing the index and home page, apply deterministic styling with a box shadow, and set up error handling while creating xor.db.
Create an error.ejs view in an Express app, reuse the home layout and footer, and link base.css and error.css. Render a dynamic login alert message with template tags.
Review the project build by tracing routing, database pathway, error handling, and templating engine integration as the app spins up the server and moves toward authentication.
Build login authentication using Express and EJS by creating a login page, router, and post login flow. Implement a signup page and prepare for Passport local strategy and sessions.
Configure passport-local to verify usernames and passwords via a local strategy, fetch users from the database, and verify hashed passwords with crypto using timing safe checks.
Implement a local verify password flow that checks username and password against the database, hashes credentials, handles errors, and redirects to home on success, with express sessions.
Import downloadable CSS from a GitHub repository to style the Express app, replacing the public css with polished login, index, home, and error styles.
Fix the established session error by enabling express session middleware and persisting sessions in a sqlite store for database-backed authentication using passport local strategy with serializeUser and deserializeUser.
Implement log out functionality in an express app by wiring a post route, form actions, and redirects to the home page, while enabling sign in, sign up, and authentication.
Create a sign up router and an EJS sign up page with a username and password form, post routing, and user guidance, mirroring the login pattern for seamless authentication.
Build a sign up workflow with hashed passwords and salt in a node.js express app, including post routes, database insertions, and session authentication, with future social sign-in plans.
This lecture updates the exercise app home page by switching the start button to sign in, guiding users to login or sign up and showcasing authentication.
activate Google sign-in by adding a Google sign-in button, configure the passport Google strategy, and create a login route at /login/federated/google to redirect users to Google.
Register a Google Cloud project, create OAuth 2.0 client credentials, and configure localhost redirect; store client id and secret in environment variables for Google authentication in the Express app.
Code along demonstrates implementing Google strategy authentication with Passport in a Node Express app using SQLite3, covering environment variables, client ID and secret, callback, scope, profile, and federated credentials.
Set up google authentication in an express server with passport, including the callback route and success and failure redirects, then test and fix config errors.
Facebook login with Passport and Express by registering a Facebook app, obtaining the app ID and secret, and wiring the Facebook strategy into your authentication flow alongside Google.
Implement a Facebook strategy with Passport and Express, adapting the Google setup to use Facebook client id and secret, access and refresh tokens, and a Facebook sign-in button.
Learn to wrap authorization with Ortho and set up Auth0 in a Node Express app by creating an application, noting domain, client id, and client secret, and configuring callback URLs.
Connect your app's authentication using the OpenID Connect strategy from Passport to integrate Auth0 with Express, configuring issuer, URLs, client credentials, and login redirects.
Follow along with guided exercises in code sandbox to master JavaScript algorithms and data structures for modern interviews, using the online editor to run tests and validate solutions.
Explore Code Sandbox as an online editor to test vanilla JavaScript with HTML and CSS, sign in via Google or GitHub, and access a dashboard for classroom exercises.
Sign in to Code Sandbox, explore the dashboard and templates, and create a new vanilla sandbox to learn HTML, CSS, and JavaScript.
Explore the vanilla template with its index.html, styles.css, a JavaScript file, and a packaged.json, and learn how these files communicate via document.getElementById and innerHTML to build a website.
Discover how HTML structures a web page, how CSS styles it, and how JavaScript connects to HTML via getElementById in CodeSandbox, with real-time preview and vanilla web fundamentals.
Create a vanilla js learning template in code sandbox to save time, stay organized, and reference as you build templates with ids and develop scripts and algorithms across lessons.
Learn how to build the course template in CodeSandBox by renaming drafts, creating a lessons container, and linking JavaScript to HTML, with live coding lessons and mentor support.
Learn how to build a reusable learning module template with course notes, code examples, exercises, and solutions using JavaScript, including saving and unfreezing templates for a smooth workflow.
Open the code sandbox dashboard, create a sandbox template for learning JavaScript with DPO, and load the draft course module with index files, including lesson, exercise, and solution.
Explores arrays in JavaScript, focusing on one-dimensional arrays and dimensions. Shows how to create and populate arrays with booleans, integers, and strings.
Discover how to use the length property to count elements in a JavaScript array and log the result with console.log as the array grows from three to forty-two items.
Explore multi dimensional arrays in JavaScript, where arrays contain other arrays and even objects. Learn to build nested structures with country data and booleans to illustrate accessing complex data.
Construct a simple array containing at least one boolean, two strings, and one integer, then log its length to the console.
Learn to retrieve data from JavaScript arrays by understanding indexing, where the first element starts at zero; practice creating arrays and accessing each item by its index.
Explore bracket notation to access array values by index, using an animal array (cat, dog, bird, human) and retrieving cat at index 0 and others at 1 and 3.
Explore how to update array values using bracket notation by indexing and setting new values, from dog to rhino, and observe updates in the console.
Practice debugging a city weather data array by flipping the boolean from true to false for summer in New York, then log and test the updated array.
Change the city weather data from true to false by accessing the array’s first element (index zero), then console.log the updated city weather data.
Apply push and pop to modify arrays in JavaScript, removing the last item with pop and adding new plates with push, while observing console updates and indices.
Learn to modify an array for a Dragon Ball Z exercise by using push and shift to add Boma, Sengoku, and Piccolo, and log results.
Create a Dragon Ball Z array function that takes and returns an array, logging results while shifting San Goku and Piccolo to the beginning and pushing Vegeta to the end.
Implement adding items to a sqlite3 database using express, with active and completed filtering, a dynamic list rendered by looping through items, and form submissions that update item status.
Learn to build an auth-enabled Express app that signs up users with Auth0, maintains sessions, and maps and filters exercises by owner id to manage active and completed tasks.
Learn express routing to display and filter tasks with /active and /completed, ensure login, render the index page, and handle post submissions to insert title and completed status into database.
Tune a to-do app by wrapping lists in EJS, wiring a post form, and using locals for conditional rendering of filters and counts within Express routing.
Update the express app to fetch and render active counts on the home page by wiring the fetch function into the router's get handler, then reload and verify sign-in works.
Build list functionality with a delete button, escape-key handling, and setAttribute-based editing. Add filtering and a delete form with a hidden filter input.
Master deleting items in an Express app using EJS and routing by implementing a post route with ID validation, a database delete query, and a post-delete redirect, while ensuring login.
Finish routing form data on the express side for the exercise app, implementing toggle all, clear completed, and update routes using owner id and title.
Debug JavaScript in an Express app, fix SQLite3 and EJS formatting. Build a dynamic to-do interface with active and completed states, counts, and filters.
Review EJS templating with Express and Passport in Node.js, and consolidate authentication flows, including local and third-party strategies (Google, Facebook, OpenID), user serialization, and protected routes.
This Complete Express Framework Course is the ultimate resource for developers of all levels looking to master the Express Framework, SQL, and the powerful combination of Passport.js and Auth0. Whether you're just starting out with web development or have been working in the field for years, this course will provide you with the skills and knowledge you need to build robust, dynamic web applications.
Throughout the course, you'll code along step-by-step with our experienced instructors as you learn how to build sign-in and sign-up functionality using Express Framework and Passport.js. You'll gain hands-on experience working with popular strategies for authentication and authorization, such as Google, Facebook, and Auth0.
Our goal with this course is to teach you the working skills you need to start working as a junior or mid level developer at a job with added confidence from coding, get a job in the tech space, or innovate the world at your own choosing with your new found powers. This course will take you there!
The world is shifting more and more towards learning and working at home. This is an opportunity for you to start learning the most in demand skills, showcase those coding development skills, and gain the experiences you need to develop your passion into something real.
This course covers the following topics in detail:
EJS for templating engines: You'll learn how to use the EJS library to create dynamic views for your web applications, and how to work with template variables and control structures.
JavaScript, Node.js, and Express.js routing: You'll gain a deep understanding of how to work with JavaScript, Node.js, and Express.js to create efficient, scalable web applications. You'll learn how to define routes, handle requests, and respond to requests using the Express Framework.
Building Facebook, Google, and Auth0 local strategies with Passport.js: You'll learn how to use Passport.js to implement authentication and authorization for your web applications. You'll work with popular strategies such as Google, Facebook, and Auth0 to provide your users with a secure and convenient way to sign in and sign up.
Creating a robust and efficient SQL database: You'll learn how to design and implement a SQL database for your web applications. You'll learn about best practices for database design, and how to work with SQL to query, insert, update and delete data from the database.
You'll learn best practices for working with the Express Framework, and gain a solid understanding of how to work with Passport.js to build robust, secure authentication and authorization systems. You will also gain knowledge of different routing methods, RESTful routes and also how to handle form data and file uploads. Furthermore you'll learn how to use middleware for logging, body parsing, error handling, and more. By the end of this course, you'll have all the skills you need to build dynamic web applications using the Express Framework, SQL and also have a good understanding of how to secure and authenticate your application.
You do not need any web development or programming knowledge to get started!
This course requires zero prior knowledge to get started! Some basic web development skills including Javascript would definitely move you through the course at a much faster pace than others, however, this course includes introductory sections (they are purely optional) so that we all move through the key lessons together regardless of our skill level!
Please see the full curriculum, the free preview videos and whenever you’re ready...
Don't miss out on this opportunity to master the Express Framework, SQL and web application security. Sign up now and start building amazing web applications today!