Astro Web Framework Crash Course

  Рет қаралды 80,426

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Learn to use Astro in this beginner's tutorial. Astro is an all-in-one web framework for building fast, content-focused websites like landing pages, blogs, technical documentation, and more.
✏️ This course was developed by @JamesQQuick
🔗 Longer Astro Course: astrocourse.dev/
💻 Code: github.com/jamesqquick/astro-...
Astro Docs - docs.astro.build/
SSG vs SSR Diagram - app.eraser.io/workspace/CmsSg...
⌨️ (0:00:00) Intro
⌨️ (0:00:35) What We'll Cover
⌨️ (0:01:23) Creating an Astro Project
⌨️ (0:06:23) Astro Overview (components, file based routing, css, and more)
⌨️ (0:13:23) Astro Setup in VS Code
⌨️ (0:16:23) Setting Up Tailwind
⌨️ (0:18:23) Updating the Site Layout
⌨️ (0:27:23) Working with Markdown and Content Collections
⌨️ (0:34:23) Querying and Displaying Blog Posts Using Content Collections
⌨️ (0:40:23) Creating Dynamic Routes For Individual Blog Posts
⌨️ (0:46:38) Tailwind Typography Plugin
⌨️ (0:47:53) Optimizing Images
⌨️ (0:52:43) Using the ViewTransitions API
⌨️ (0:54:03) Adding Support for MDX
⌨️ (0:56:23) Deploy to Netlify and Vercel
⌨️ (0:59:23) Enabling SSR in Astro
⌨️ (1:08:53) Astro Server Endpoints
⌨️ (1:12:23) Deploying SSR to Netlify and Vercel
⌨️ (1:16:23) Wrap Up
🎉 Thanks to our Champion and Sponsor supporters:
👾 davthecoder
👾 jedi-or-sith
👾 南宮千影
👾 Agustín Kussrow
👾 Nattira Maneerat
👾 Heather Wcislo
👾 Serhiy Kalinets
👾 Justin Hual
👾 Otis Morgan
👾 Oscar Rahnama
--
Learn to code for free and get a developer job: www.freecodecamp.org
Read hundreds of articles on programming: freecodecamp.org/news

Пікірлер: 93
@JamesQQuick
@JamesQQuick 8 ай бұрын
Hope you all enjoy Astro as much as I do 🥰 It's such a powerful framework, and I think it's only going to get better and better!
@gameboyv1790
@gameboyv1790 8 ай бұрын
Awesome tutorial. Thanks!
@talkdatrue
@talkdatrue 8 ай бұрын
What browser are you using?
@user-hr2ju8pm9n
@user-hr2ju8pm9n 8 ай бұрын
No hard feelings buddy but IMHO 11ty rules
@adriablancafort
@adriablancafort 7 ай бұрын
Thank you very much! I LOVE astro, use it in a lot of my projects and in my opinion it's going to become something big. Your videos covering astro are awesome and very necessary in my opinion.
@JamesQQuick
@JamesQQuick 7 ай бұрын
@@talkdatrueThis is the Arc Browser. It's pretty neat!
@anony88
@anony88 8 ай бұрын
Employers right now are already typing "Experience Required: Astro - 6 years"
@ankushkuchankar55
@ankushkuchankar55 8 ай бұрын
😂😂😂😂😂
@redgeburns7635
@redgeburns7635 8 ай бұрын
😅😅😂😂😂
@alexanderkomanov4151
@alexanderkomanov4151 8 ай бұрын
😂😂😂😂😂😂😂
@addytechie6948
@addytechie6948 8 ай бұрын
😂😂😂😂
@JamesQQuick
@JamesQQuick 7 ай бұрын
lmaooo spot on!
@mayurbhirud7998
@mayurbhirud7998 8 ай бұрын
Most revolutionary framework ever❤
@iga1720
@iga1720 Ай бұрын
Thank you, was stuck with unprofessionally written code for months and struggled with reading the documentation. The video made everything clear. Works perfectly.
@calebefant
@calebefant Ай бұрын
Oh yeah, I have problems with getting stuck on it as well.
@ichiroutakashima4503
@ichiroutakashima4503 8 ай бұрын
This is a good introduction. Might purchase the full course some time soon. I really feel like Astro is the better NextJS.
@iGhostr
@iGhostr 8 ай бұрын
Are they even comparable?
@JamesQQuick
@JamesQQuick 7 ай бұрын
Let me know if there are any questions about the full course I can answer for you!
@JamesQQuick
@JamesQQuick 7 ай бұрын
Moreso than you might think :)@@iGhostr
@iGhostr
@iGhostr 7 ай бұрын
@@JamesQQuick cool, I thought Astro is just for static site creation with very fast performance
@BearDigitalStudios
@BearDigitalStudios 8 ай бұрын
Love James he's such a good instructor
@freecodecamp
@freecodecamp 8 ай бұрын
Agreed.
@JamesQQuick
@JamesQQuick 7 ай бұрын
Thank you so much!
@scigama71
@scigama71 2 ай бұрын
Agreed
@memaimu
@memaimu 3 ай бұрын
I've never seen a presentation go so beginner-friendly to "all right we're just going to copy and paste everything and I will summarize some lines in a sentence or two... yeahp, that should do it." Gotta buy that full course...
@yvonvieville
@yvonvieville 4 ай бұрын
a really interesting video ! You're a great instructor, thanks
@kinkyolga9668
@kinkyolga9668 8 ай бұрын
Love Astro!!!!
@nielslytzdk
@nielslytzdk 4 ай бұрын
Very nice tutorial, you do a super job and thanks for that! I don't have the "download directory" option in Github, do you have to pay for that feature to be enabled?
@alexanderkomanov4151
@alexanderkomanov4151 8 ай бұрын
Thanks!!!
@bdbikepagla8962
@bdbikepagla8962 7 ай бұрын
😂😢😮😅😊
@grotsunfull
@grotsunfull 8 ай бұрын
Nice!
@richardbray
@richardbray 7 ай бұрын
Yess James 🔥🔥🔥
@JamesQQuick
@JamesQQuick 7 ай бұрын
YEAHHHH!!
@alwayssomewhere716
@alwayssomewhere716 6 ай бұрын
great tutorial, where do I get the API key
@SametSamyeli
@SametSamyeli 4 ай бұрын
Where are you copying the codes from? Can you put a link? (Components/Header - H1 etc.)
@brandonzane519
@brandonzane519 8 ай бұрын
That was a Quick course
@freecodecamp
@freecodecamp 8 ай бұрын
🤣
@JamesQQuick
@JamesQQuick 7 ай бұрын
nicely done! 🤣
@philip9677
@philip9677 5 ай бұрын
my tailwind is not loading i followed the instrucitons in the setup but it still doesnt load, no errors when i run npm run dev or in console. the classes are ofcourse in the html but no styling
@MrJfergs
@MrJfergs 5 ай бұрын
Is this still applicable to Astro 4.0?
@vedadtr3509
@vedadtr3509 3 ай бұрын
Where can we find the Header code you paste ? Github only provides the completed result
@dhanushm444
@dhanushm444 8 ай бұрын
மகிழ்ச்சி ❤❤❤
@waifucodes
@waifucodes 8 ай бұрын
i would love a remix crash course
@BobbyBundlez
@BobbyBundlez 2 ай бұрын
for the creating dynamic routes i thought you could do something like [...slug].astro no?
@doriomer
@doriomer 7 ай бұрын
Following the tut import component ended with an ERROR : error: Cannot find module 'astro:assets' After pulling my hair i've finaly found solution that works for me: 1. Open file 'astro.config.mjs' 2. Add to experimental Object assets: true 3. export default defineConfig ( { integrations: [tailwind()], experimental: { viewTransitions: true, assets: true }, })
@MichaelAlhilly
@MichaelAlhilly 3 ай бұрын
Great tutorial! Thanks!
@tresero2862
@tresero2862 Ай бұрын
Maybe something changed in V4, but 'CollectionEntry' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled. is an error I get. Also, Images isn't working. Image's and getImage's src parameter must be an imported image or an URL, it cannot be a string filepath. Received ./images/Truss down.jpg.
@Feenskee
@Feenskee 8 ай бұрын
Astro's beautiful
@druzlee1
@druzlee1 3 ай бұрын
in my case when i deploy in minute @1:14:46 i have a problem with the image not found what type of problem should be?
@shrdn2960
@shrdn2960 Ай бұрын
Same, didn't look into it yet though. You found out why?
@soumadip_skyy_banerjee
@soumadip_skyy_banerjee 8 ай бұрын
💖
@prabhakaran5083
@prabhakaran5083 8 ай бұрын
❤❤❤
@matheusestevao9870
@matheusestevao9870 26 күн бұрын
wich browser is he using?
@foupax
@foupax 3 ай бұрын
Thanks to upgrade to V4.
@tnypxl
@tnypxl 7 ай бұрын
Can it not do traditional web applications? Can someone explain why its NOT good for web app development?
@davordebrecin3999
@davordebrecin3999 5 ай бұрын
You can, but then you’re just better off with some other framework if you’re building a SaaS, since you’re not concerned about quick loading of content.
@tnypxl
@tnypxl 5 ай бұрын
@@davordebrecin3999 I didn't know SaaS apps were absolved from caring about quick loading content. Why wouldn't I want everything to load fast in a SaaS?
@BobbyBundlez
@BobbyBundlez 2 ай бұрын
its for statically generated websites. not dynamic ones that web apps almost always use its like gatsby. Ssg (static site generator)
@abhikbanerjee3719
@abhikbanerjee3719 7 ай бұрын
"Dwight Schrute" at @28:22? IDENTITY THEFT IS NOT A JOKE JAMES!!
@JamesQQuick
@JamesQQuick 7 ай бұрын
lmaooo sorry!!
@jay__762
@jay__762 8 ай бұрын
Hey is having a degree is necessary to get a web developer job 😢
@santoshmore2953
@santoshmore2953 8 ай бұрын
Nope
@cslearn3044
@cslearn3044 8 ай бұрын
Naw, doubt anyone cares, but it can help. In the end all it matters is skill, not matter what coding field
@perezident14
@perezident14 8 ай бұрын
A degree will make your initial job hunt easier, but 100% possible to get a job without one.
@ZeyadMohamed-xs9ew
@ZeyadMohamed-xs9ew 8 ай бұрын
It depends on where you are from.
@jay__762
@jay__762 8 ай бұрын
@@ZeyadMohamed-xs9ew 🇮🇳
@Ramzankhan-ql4nt
@Ramzankhan-ql4nt 7 ай бұрын
Hi ,very good i need course of searched clients Mean clients hunting crash course for every purpose with extremely deeply techniques and things which you know and even have made anyone this course tell me. Thanks ❤❤❤
@nurbolatsansyzbay9998
@nurbolatsansyzbay9998 8 ай бұрын
another new javascript framework
@JamesQQuick
@JamesQQuick 7 ай бұрын
Too many right? lol
@chadjones4255
@chadjones4255 6 ай бұрын
I wish there was a non-typescript version of this course. I'm not a fan of typescript.
@fullpreteristnow
@fullpreteristnow 5 ай бұрын
Don't include Typescript and either keep your styles as they were in the original setup or import then all from one file. Other than that, you don't need to really know anything different.
@f.t.5859
@f.t.5859 3 ай бұрын
This crash course looks like a storm of confusion and doubts.
@nomad100hd
@nomad100hd 6 ай бұрын
The Astro ext is broken
@henriqueamaral4017
@henriqueamaral4017 2 ай бұрын
40:22 It doesn't work that way, because PostList component should not be inside a "map". But you still did pretend that it worked.
@sotecluxan4221
@sotecluxan4221 8 ай бұрын
Oooo....
@isaacmandell-seaver7223
@isaacmandell-seaver7223 8 ай бұрын
Jacksflims
@amanjotsingh001
@amanjotsingh001 3 ай бұрын
how can i use a bootstrap theme i bought with astro?
@oosmanbeekawoo
@oosmanbeekawoo 8 ай бұрын
Haha! “No views”
@nickdhrones6425
@nickdhrones6425 2 ай бұрын
I'm a noob with respect to Web-Dev. I was loving Astro and this content until Tailwind was applied. Lost me! If that's what the course is about, I'm out!
@MrBrady95
@MrBrady95 2 ай бұрын
In my opinion, you need to indicate that it is a 'crash course' for intermediate-advanced level programmers. For me it was another huge waste of time and I realized this at about @38:00 minutes into the video. Normally I'd say, 'thanks for offering the free content' but times are evolving. I'm actually recognizing that I'm spending pretty much all of my time, simply "parroting" what an instructor does in their code editor. Respectfully, but unapologetically giving this a thumbs down.
@keemkorn
@keemkorn 3 ай бұрын
Im sorry but I can’t trust anyone that pronounced favicon like that……..
@BobbyBundlez
@BobbyBundlez 2 ай бұрын
I pronounce is favicon. not like faveicon (favorite)... can't find timestamp for this lol so which way does he say it?
@piyusharyaprakash4365
@piyusharyaprakash4365 7 ай бұрын
What browser is he using ?
@JamesQQuick
@JamesQQuick 7 ай бұрын
This is the Arc browser
OWASP API Security Top 10 Course - Secure Your Web Apps
1:27:01
freeCodeCamp.org
Рет қаралды 64 М.
Astro Crash Course in 20 Minutes!
22:07
Coding in Public
Рет қаралды 51 М.
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 33 МЛН
Разбудила маму🙀@KOTVITSKY TG:👉🏼great_hustle
00:11
МишАня
Рет қаралды 3,9 МЛН
Don't eat centipede 🪱😂
00:19
Nadir Sailov
Рет қаралды 23 МЛН
Nigeria’s Q1:2024 GDP Report_27052024
7:53
Get Finance and Investment Tips
Рет қаралды 8
Astro makes websites faster & easier to build
22:55
Kevin Powell
Рет қаралды 115 М.
Everything You Need To Know About Astro
9:59
Awesome
Рет қаралды 24 М.
Actor-Critic Reinforcement for continuous actions!
7:37
Thinkstr
Рет қаралды 7 М.
10 Tailwind Tricks You NEED To Know!
10:45
Ravi - Perfect Base
Рет қаралды 261 М.
What is Astro?
9:57
Kodaps Academy
Рет қаралды 6 М.
Build this JS calculator in 15 minutes! 🖩
15:20
Bro Code
Рет қаралды 336 М.
Astro Did It Again!!
13:13
James Q Quick
Рет қаралды 17 М.
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 33 МЛН