- Learn to Build A React WooCommerce Theme With REST API And TailwindCSS
- Free tutorial
- Rating: 4.3 out of 54.3 (71 ratings)
- 5,433 students
- 1hr 55min of on-demand video
- Created by Imran Sayed
- English
What you’ll learn
- Building Nextjs Application
- Decoupled Application With WordPress And WooCommerce
- Building A Headless CMS
- WooCommerce REST API
- Setting Up And Using TailwindCSS
Requirements
- Basic Understanding Of WordPress and WooCommerce
Description
In this course, you will learn
- How to create a react application with the next.js framework.
- The backend will be in WordPress using WooCommerce Plugin.
- The data will be fetched using REST API.
- For CSS we will use TailwindCSS and we will also learn how to customize it as per our needs.
- We will build:
- Header
- Footer
- Product Page
- Add To Cart.
- All the data will be dynamic fetched from WordPress.
- Pages will also be cached and fresh data will also be updated on a regular basis. So that the data is never stale.
- We will display all the products with their images, price, and discounts with add to cart feature.
- We will take advantage of Next.js Image optimization, and Incremental Static Regeneration.
- Incremental Static (Re)generation and automatic creation of New Static post pages without having to re-build next.js the application.
- Gutenberg styles support
- REST API endpoints.
Once you complete this course. You can avail the next part of the course – Advanced NextJS WooCommerce REST API, TailwindCSS – Part-2
It’s available under my courses.
WordPress Rest API is one of the many great features WordPress offers. It enables developers to create fascinating plugins and themes and allows them to power third-party applications with WordPress CMS.
The content management system is also developed to manage the web site’s content in modern web applications. This can add an extra workload for the developers. With so many possibilities that Rest API offers, one can also think of using WordPress with React as a headless CMS for their JavaScript-based web application(s).
Who this course is for:
- Beginners, Advanced, Developers
Show less
Course content
3 sections • 15 lectures • 1h 54m total lengthCollapse all sections
Introduction2 lectures • 13min
- Setup Nextjs Project04:10
- Setup Tailwind CSS with SASS09:19
Header and Footer7 lectures • 56min
- Header Footer REST API05:47
- Using getStaticProps and axios to Fetch Data from WordPress08:35
- Add Dynamic Site Title, Tagline, Logo08:34
- Add Header Menus10:14
- Add SVG Icons05:51
- Add Footer Widgets05:25
- Footer Menus and Social Icons11:05
WooCommerce Products6 lectures • 46min
- Setup WooCommerce Auth Key , Fetch WooCommerce Products12:28
- Display Products: Title13:28
- Create a Next.js Image Component06:23
- Adding Product Image05:57
- Adding Product Price03:48
- Fixing dangerouslySetInnerHTML Warnings03:52