Create a Server

Astro Quick Start Course | Build an SSR Blog

Astro Quick Start Course | Build an SSR Blog

#Astro #Quick #Start #Build #SSR #Blog

“Traversy Media”

In this course, you will learn the fundamentals of the Astro web framework while building a server-side rendered (SSR) tech blog.

Final Code:

Course Page:

Become a Traversy Media Member:

Use the promo TRAVERSYMEMBER to get the first 3 months for $15 per month.

Timestamps:
0:00 – Intro
3:32 – What Is Astro?
7:35 – Install & Setup
12:27 – Pages Folder & Routing
17:26 – Image Component
24:58 – Component Script
29:06 – Layout & Slots
36:45 – Component Props
39:31 – Using Constants
42:52 – Navbar & Footer Components
46:51 – Custom 404 Page
51:18 – Collections & Markdown
55:27 – Collection Schema
58:17 – Querying Collections
01:07:02 – Format & Sort By Date
01:12:36 – Article Card Component
01:15:52 – Homepage Articles
01:25:08 – Most Recent Article
01:31:11 – Slug & getStaticPaths
01:37:12 – SSR Config & Single Article
01:47:30 – Tags Component
01:53:18 – Tag Page
01:59:34 – Footer Tags
02:04:29 – Search Page
02:16:15 – API Endpoints
02:25:55 – Pagination Component
02:34:05 – Disable Prev & Next
02:39:36 – Vercel Deployment

source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

48 Comments

  1. How come on the Vercel deployment the images on the About page take forever to load? Sometimes they load pretty quick and other times not so much. I have noticed this with Astro sites, even the sites I have built with Astro. Sometimes, the images just don't load at all and I don't know what it is about that framework that causes that. It's making me just want to avoid using their image component.

    Also, it's not a Vercel thing because I deployed some Astro apps to Railway and Netlify with the same issues.

  2. so here you don't have any database , the fields and datas are within the articles but any solutions for something like Prisma with Astro ?
    Would be nice to add a like button as well as some users to that project
    ANYWAY THANKS

  3. Hi Mate, I just purchased your course. I can't find "Module 5: Search, Pagination & Deploy" in there. It's listed here "/astro-quick-start" but only 4 Modules here "/products/astro-quick-start".

  4. I hate astro just because roadmap sh website is built with it and author shared the project under a stupid license which allows to contribute, but not take. At this point I'm just waiting when that shadow goes away so that I'm free to learn what I want

  5. Great content and thanks!. I've been using Astro myself and really like it. I usually avoid jumping on new tech bandwagons but Astro looks quite interesting, it gives you structure for a basic website and also gives you choices if you want to build a more robust app

  6. Thank you for your content Brad. I just finished learning react with your course react from to back and I am building my first project for my sister-in-law. After I finish I was planning to start with your next js course baby here in about Astro a lot. Should I learn nextjs first or just jump into Astro?

  7. I was glancing over the source code yesterday since I follow your GitHub profile, and Astro is really such a great and simple library!
    Is the 2024 web development guide video coming up soon maybe? 🥹

Leave a Reply