Next.js Blog Website | How to Build a Blog App with Nextjs 13

Dave Gray March 24, 2023
Video Thumbnail

About

Web Development tutorials with full courses on HTML, CSS, JavaScript, React, Node.js and more! My goal is to help you learn how to build the web. Teaching helps me learn, too. I work full-time as a Solutions Architect / Developer and part-time as a university web dev instructor. Thank you for subscribing, supporting my channel and sharing the videos you think may help others. Keep striving for progress over perfection. And a little progress every day goes a very long way. Milestones: July 20, 2020 - 1st video Jan 1, 2021 - 1k subs April 2021 - 4k watch hours Nov 2021 - 10k subs Jan 21, 2022 - Video at 100k views Feb 16, 2022 - 100k watch hours Feb 19, 2022 - 1m views Dec 13, 2022 - 100k subs Dec 2022 - Over 1m views in 1 month April 7, 2023 - 10m views May 26, 2023 - 1m watch hours Sept 22, 2023 - Video at 1m views Dec 25, 2023 - 250k subs

Video Description

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap Learn how to build a Next.js Blog Website with Nextjs 13. Building a Blog App is an excellent project to show how Next.js 13 can use Static Site Generation / SSG and Markdown files for performance and content. 💖 Support me on Patreon ➜ https://patreon.com/davegray ⭐ Become a full-stack web dev with Zero To Mastery Courses: - Complete Next.js Developer: https://bit.ly/CompNextJSDev - Advanced React: https://bit.ly/AdvReactDev - Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr 🚩 Subscribe ➜ https://bit.ly/3nGHmNn 📬 Course Updates ➜ https://courses.davegray.codes/ ❓ Questions - Please post them to my Discord ➜ https://discord.gg/neKghyefqh ☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray 👇 Follow Me On Social Media: Github: https://github.com/gitdagray Twitter: https://twitter.com/yesdavidgray LinkedIn: https://www.linkedin.com/in/davidagray/ 🔗 Source Code: https://github.com/gitdagray/next-js-course 🔗 Playlist for this Next.js Course: https://bit.ly/dg-nextjs Next.js Blog Website | How to Build a Blog App with Nextjs 13 (00:00) Intro (00:05) Welcome (00:27) What We're Building (01:39) Basic Project Setup (03:39) TailwindCSS Setup & Typography (08:17) Run in dev mode (10:05) Basic Navbar (14:10) Profile Image (18:26) Adding Social Icons to the Navbar (21:42) Providing default metadata (22:32) Adding Markdown files for Blog Posts (24:28) BlogPost type (25:13) Reading Markdown with gray-matter (29:23) Posts component (32:31) ListItem component Pt. 1 (33:42) Formatting dates (34:56) ListItem component Pt. 2 (37:28) Create a dynamic route (38:01) Dynamic Post Pt. 1 (40:45) Custom 404 page (41:04) Generate dynamic metadata (42:54) Generate HTML from Markdown (46:29) Dynamic Post Pt. 2 (48:37) Evaluating the Project Build (51:08) Improving the build with generateStaticParams (53:37) Features You Can Add 📚 Tutorial References: 🙏 Credit to Shu Uesugi for the previous version of this project (before Next.js 13) at: https://next-learn-starter.vercel.app/ 🔗 TailwindCSS with Next.js: https://tailwindcss.com/docs/guides/nextjs 🔗 TailwindCSS Typography: https://tailwindcss.com/docs/typography-plugin 🔗 gray-matter: https://www.npmjs.com/package/gray-matter 🔗 remark: https://www.npmjs.com/package/remark 🔗 remark-html: https://www.npmjs.com/package/remark-html 🔗 react-icons: https://www.npmjs.com/package/react-icons 🚀 More References & Tools: 🔗 Next.js Official Site: https://nextjs.org/ 🔗 Next.js 13 Beta Docs: https://beta.nextjs.org/docs 🔗 ES7 React Snippets Extension: https://marketplace.visualstudio.com/items?itemName=dsznajder.es7-react-js-snippets Was this Next.js tutorial about Client Components and building a small project helpful? If so, please share. Let me know your thoughts in the comments. #nextjs #blog #website

You May Also Like

No Recommendations Found

No products were found for the selected channel.