Currently Empty: £0.00
Don’t get left behind! Increase your value as a web developer today by learning how to integrate AI in to your projects!
Please note this course uses the Next JS pages router.
Welcome to the exciting world of AI-powered, next-generation, Next JS apps!
In this course we will create a fictional Software-As-A-Service (SAAS) product called “BlogStandard”. We’ll build “BlogStandard” using a combination of Next.js, OpenAI’s GPT, MongoDB, Auth0, Stripe, and Tailwind CSS. BlogStandard allows users to create an account (handled by auth0), purchase tokens (handled by stripe), and spend those tokens to generate blog posts, powered by OpenAI’s GPT API. User’s tokens and generated blog posts will be stored using MongoDB.
In this comprehensive online course, you’ll learn how to harness the power of these cutting-edge technologies to build a fast, responsive, and dynamic web application that generates high-quality blog posts using AI. With step-by-step guidance, you’ll gain hands-on experience working with each of these technologies to bring your vision to life.
First, we’ll dive into Next.js, a popular framework for building web applications. You’ll learn how to create fast and responsive pages, manage routing, and integrate APIs to build a powerful and dynamic web application.
Next, we’ll explore OpenAI’s GPT, the state-of-the-art language generation model, and learn how to use it to generate high-quality blog posts. You’ll also discover how to integrate MongoDB, a scalable and flexible NoSQL database, to store and manage data for our application.
In addition, you’ll learn how to use Auth0, a powerful identity management platform, to handle user authentication and authorization, and Stripe, a leading payment processor, to handle transactions and payment processing. Finally, you’ll learn how to use Tailwind CSS, a modern CSS framework, to style and design your application, bringing your vision to life.
By the end of this course, you’ll have the skills and knowledge you need to build your own AI-powered app and unleash the full potential of AI in your web development projects. So what are you waiting for? Join now and start your journey to the exciting world of AI-powered Next JS apps!
Authentication & authorization with Auth0
-
1Important! Read this before you begin the course! (Github repo etc)
-
2Course intro & project demo
The instructor welcomes the learners to the JS and Open AI course, where they will be building a fictional software as a service product called Blog Standard. Blog Standard is a basic SaaS product that allows users to purchase tokens, which they can redeem to generate SEO-friendly blog posts using Open AI. The course covers everything needed to build a SaaS product, including using Next.js for the front and back end, Tailwind CSS for styling, Auth0 for handling user accounts, MongoDB for data storage, Stripe for payments, and OpenAI GPT API for generating blog posts.
The instructor provides a quick demo of the app, starting with the landing page and signing up for the Blog Standard app. Users need to purchase tokens to generate blog posts, and Stripe handles the payments. Once the payment is successful, the user can generate a new blog post using targeted keywords, and Open AI generates the content. The generated post is SEO-friendly, with a title, meta description, targeted keywords, and content.
The instructor recommends connecting with them on LinkedIn and joining the WebDevEducation Facebook group. The last lecture contains all the links necessary to connect with the instructor. The instructor looks forward to kicking off the course in the next lecture by setting up the Next.js project. This course is a great opportunity to learn how to build a SaaS product and covers all the essential features needed to do so.
-
3Project setup
In this lecture, the instructor explains how to set up the Next JS project for the course. He has already created a starter repo containing the minimum necessary to quickly set up the project. The starter repo includes a set of npm packages that will be used throughout the course, Tailwind CSS setup, and boilerplate code to connect to MongoDB. The boilerplate code for MongoDB is taken directly from the MongoDB documentation. The instructor uses Visual Studio Code as the editor and creates a new next app based on the starter repo using the integrated terminal within Visual Studio Code. He specifies the name of the project and the repo URL. Once the installer has finished, he navigates to the new directory and opens the project in Visual Studio Code.
The instructor explains that he has added several packages to the project, including Auth0 for logins and registrations, font awesome, MongoDB, numeral for formatting numbers, OpenAI for generating blog posts, and Stripe for payments. He has also included Tailwind CSS, and the Tailwind configs. The final CSS build for the project is generated from the globals CSS file, which is imported within the pages and _app.js. Additionally, the instructor has included a favicon PNG in the public directory, which will be used as the Blog Standard logo. Finally, he has included the boilerplate file and code for MongoDB in the lib directory, which comes directly from the MongoDB documentation.
The instructor then runs the project to ensure it is set up correctly and moves on to discuss the first pages in the next lecture.
-
4Udemy ratings and reviews
-
5Set up all required routes for our app
Creating the app layout with Tailwind CSS
Generate blog posts with OpenAI's GPT API and store in MongoDB
-
9Create the basic AppLayout component
-
10Implementing the sidebar & styling with Tailwind CSS
-
11Implementing the sidebar footer
-
12Create the sidebar header & roll out the AppLayout for all relevant pages
-
13Create the app logo component using Google Fonts & FontAwesome
-
14Create the homepage / main landing page, and finish off the sidebar header
Implementing stripe payments
-
15ISSUES WITH OPENAI
-
16NEW - Setting up our project to work with GPT
-
17Calling the OpenAI API
-
18Generate the SEO title and meta description
-
19NEW - Pass topic and keywords to the generatePost API endpoint
-
20Set up MongoDB
-
21Implement add tokens functionality and store in MongoDB
-
22NEW - Save generated post data to MongoDB
-
23Load the post data for a particular post page
-
24NEW - Auto-navigate to a post after it's generated
-
25NEW - Render the post content for a particular post page
-
26Render list of available posts in the sidebar
Styling updates, fixes, and data validation
Implement "load more posts" and delete post
Deploy
-
32Create posts context and retrieve first 5 posts
-
33Create getPosts endpoint
-
34Hide "load more posts" button and fix disappearing posts in sidebar
-
35Fix posts in sidebar on initial post load
-
36Create deletePost endpoint
-
37Create delete post UI & call deletePost endpoint
-
38Delete post from sidebar
-
39Refactor posts context to use reducer instead of state
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
Stars 5
298
Stars 4
93
Stars 3
13
Stars 2
11
Stars 1
3