Essential CSS
JavaScript Roadmap
Learn JavaScript
Mastering Web Typography
Practical Astro
Understanding Async JS
Unorthodox Tailwind
API Masterclass
Build and Deploy
The Beginner Freelancer
Real World Node
Profile Billing Logout
Real World Node
Lesson Plan
  1. Workshop Recordings
    1. ๐Ÿ“น Understanding Node and Express
    2. ๐Ÿ“น Creating a traditional server
    3. ๐Ÿ“น Building API servers
    4. ๐Ÿ“น Create, Read, Update, and Delete APIs with real databases
    5. ๐Ÿ“น Handling user flows
    6. ๐Ÿ“น Testing your app and database with Vitest
    7. ๐Ÿ“น Testing Middlewares and APIs โ€” including Mocking
    8. ๐Ÿ“น Changing and resetting passwords

๐Ÿ“น Creating a traditional server

0m:41s
15m:39s

There are two kinds of servers you can create:

  1. A traditional server
  2. An API server

Traditional servers are those where you serve up HTML, CSS, JavaScript and other assets directly from your server (which is Express in this case).

Examples of a traditional server frameworks are Wordpress and Ruby on Rails.

Today, youโ€™ll learn how to create a traditional server with Express โ€” so you can serve up any website you wish (if you so desire).

This includes information about:

  • Using template engines like Pug and Nunjucks to simplify HTML writing
  • Rendering the right files and the right routes
  • Receiving data from the frontend through form submissions.

Source Code

Hereโ€™s a link to the Github Repository.

Timestamps for this lesson will be added in the future.