Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Build a Full Stack Blog with Astro

via egghead.io

Overview

"Build a Full Stack Blog with Astro" is a hands-on course that cuts straight to the chase, offering developers a practical approach to building a fully functional blog website. Throughout this course, you'll get to grips with Astro, a modern web framework designed to help you create fast content websites with a modern development experience. Here's what you'll be tackling: - **Styling and Layout**: You'll learn how to style Astro pages, exploring a variety of ways to make your site look good without compromising on performance. - **Astro Components and Static Assets**: Get comfortable creating reusable components and managing static assets like images. - **Content Publishing System**: Delve into managing blog content with Astro’s content collections, with type safety included with Zod to keep your data structured and error-free. - **Dynamic Features**: Implement pagination and dynamic pages to make your content discoverable and your site easy to navigate. - **SEO Essentials**: Tackle SEO fundamentals with **`astro-seo`**, ensuring your site ranks well and reaches the right audience without the guesswork. - **React and Vanilla JS**: Enhance your site with interactive components, first using React, then refactoring with Vanilla JS for optimal performance. - **Backend Integration**: You'll dive into back-end functionality, creating custom API endpoints, and interfacing with a database using Drizzle ORM to manage your content behind the scenes. - **Dynamic OG image generation**: Every content website needs decent OG images for social sharing. You’ll learn how to dynamically generate the OG images for your pages and blog articles. By the end of this course, you won't just have a theoretical understanding — you'll have a live, deployable full-stack blog that reflects current best practices in web development. You’ll also gain valuable and easily-transferrable skills for working with databases and containerizing and deploying full-stack web apps. This course is about building something tangible that you can use as a springboard for more complex projects down the line. So, let's learn how to build great content websites!

Syllabus

  • Intro: Build a Full Stack Blog with Astro
  • Create an Astro Project and Set up the Dev Environment
  • Style Astro Pages with Many Different Options
  • Create an Astro Component for Links
  • Render Images to Pages with Astros Static Serving and Static Assets
  • Create Astro Content Collections with Zod for a Typesafe Blog
  • Render an Astro Blog Post Page with getStaticPaths
  • Implement Pagination in a Dynamic Astro Index Page with getStaticPaths and paginate
  • Create Static Pages in Astro Using File Based Routing
  • Create and Apply a Layout to Astro Pages
  • Implement SEO in an Astro Website with astro-seo
  • Generate a Sitemap in Astro with the sitemap Integration
  • Generate an RSS Feed for an Astro Blog with @astrojs/rss
  • Deploy a Static Astro Site on Vercel
  • Milestone Recap: Build a Full Stack Blog with Astro
  • Add Interactive React Components to a Static Astro Page with Astro Islands
  • Refactor a React Astro Island to Vanilla JS to Ship Less JavaScript
  • Create a fly.io Account and Prepare a Project for Deployment
  • Dockerize a Server-side Rendered (SSR) Astro Blog and Deploy to Fly.io
  • Create a GitHub Action Configuration to Automatic Deploy an Astro Blog
  • Implement Drizzle ORM for Development and Deploy to a Fly.io Volume
  • Create Astro API Endpoints to Get and Update Database Records using Drizzle ORM
  • Implement Dynamic OG Image Generation with Astro API Routes and Satori

Taught by

Lazar Nikolov

Reviews

4.4 rating at egghead.io based on 11 ratings

Start your review of Build a Full Stack Blog with Astro

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.