{"id":550,"date":"2021-06-20T20:17:53","date_gmt":"2021-06-20T18:17:53","guid":{"rendered":"https:\/\/www.javascripttutorials.net\/?p=550"},"modified":"2021-06-20T20:18:34","modified_gmt":"2021-06-20T18:18:34","slug":"next-js-for-beginners-full-tutorial","status":"publish","type":"post","link":"https:\/\/www.javascripttutorials.net\/next-js-for-beginners-full-tutorial\/","title":{"rendered":"Next.js for Beginners Full Tutorial"},"content":{"rendered":"<p>Learn how to get started with the <a href=\"https:\/\/nextjs.org\/\">Next.js<\/a> JavaScript framework. Through building a full-stack recipe app with Next.js, Sanity.io, and Vercel, you will learn how to set up dynamic routing, pre-render, pull content from external APIs, set up serverless functions, offer real-time content previews, and deploy your app on the web.<!--more--><\/p>\n<p>Next.js has the best-in-class &#8220;Developer Experience&#8221; and many built-in features; a sample of them are:<\/p>\n<ul>\n<li>An intuitive page-based routing system (with support for dynamic routes)<\/li>\n<li>Pre-rendering, both static generation (SSG) and server-side rendering (SSR) are supported on a per-page basis<\/li>\n<li>Automatic code splitting for faster page loads<\/li>\n<li>Client-side routing with optimized prefetching<\/li>\n<li>Built-in CSS and Sass support, and support for any CSS-in-JS library<\/li>\n<li>Development environment with Fast Refresh support<\/li>\n<li>API routes to build API endpoints with Serverless Functions<\/li>\n<li>Fully extendable<\/li>\n<li>Next.js is used in tens of thousands of production-facing websites and web applications, including many of the world&#8217;s largest brands.<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" title=\"Next.js for Beginners - Full Course\" width=\"730\" height=\"411\" src=\"https:\/\/www.youtube.com\/embed\/1WmNXEVia8I?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Video producer: <a href=\"https:\/\/www.freecodecamp.org\/\">https:\/\/www.freecodecamp.org\/<\/a><\/p>\n<p>\u26a0\ufe0f There is a minor error in course- At 5:15, to get to that Next.js starting point, please do the following:<br \/>\n1. Run the command: `npx create-next-app next-recipe-app`, let that build<br \/>\n2. Go into the folder: `cd next-recipe-app`<br \/>\n3. Open in your code editor of choice!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to get started with the Next.js JavaScript framework. Through building a full-stack recipe app with Next.js, Sanity.io, and Vercel, you will learn how to set up dynamic routing, pre-render, pull content from external APIs, set up serverless functions, offer real-time content previews, and deploy your app on the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":552,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[47],"class_list":["post-550","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","tag-next-js"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts\/550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/comments?post=550"}],"version-history":[{"count":0,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/posts\/550\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/media\/552"}],"wp:attachment":[{"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/media?parent=550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/categories?post=550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javascripttutorials.net\/wp-json\/wp\/v2\/tags?post=550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}