Over the course of several videos, we'll be building an authenticated message board from scratch with Express, Handlebars, and SQLite. This series is aimed at people who are familiar with programming but new to web development.
This series is based on a lecture I've given several times, including at Sunhacks 2020 and in Justin Selgrad's CPI310 class.
If you're new to web development, start here! We go over the basics of how to get a web app up and going with Node and Express
- Project setup
- HTTP Requests
- HTML Forms
- Handlebars templates
YouTube link (30:03)
In which we add a SQLite database to our message board to store our users' messages.
- ESModules
- Basic SQLite usage including reading, writing, and migrations
- Promises
YouTube link (15:12)
A proper user authentication system requires registering users, identifying their resources and actions, and allowing users to log in when they return to the site. This video is focused on registering users.
- Using Nodemon
- Hashing passwords
YouTube link (26:20)
Building on the registration system, we now associate each post with the user that posted it, and look up each of them when we retrieve the posts.
- Cookies
- SQL joins
- SQL Foreign Keys
(Planned)
Our previous video had a huge security flaw: any user could post as any other user! It's time to ask for passwords with a login form, and remember who they are with cookies.
- Comparing hashed passwords
- Authentication tokens and proper cookie usage
- Sessions
(Planned)
What should I cover next? Hosting? Typescript? A React client?