Mô tả

Don't get left behind! Increase your value as a web developer today by learning how to build AI powered web apps!

THIS COURSE WILL BE GOING THROUGH A COMPLETE UPDATE TOWARDS THE END OF 2023 TO USE THE NEXT JS 13 APP DIRECTORY.

Welcome to the ultimate course on how to build your very own ChatGPT clone!

In this course, you'll learn how to create "Chatty Pete", a powerful chatbot with the same capabilities as ChatGPT, that uses Next.js v13, OpenAI's GPT API, Next JS edge functions to stream chat responses, MongoDB for data storage, Auth0 for user authentication and user accounts, and Tailwind CSS for beautiful layouts and styling. We'll end the course by deploying our app live to production, hosted on Vercel.

You will be guided through every step of the development process, from setting up your Next JS development environment to deploying your finished ChatGPT chatbot clone to the web using Vercel. You'll learn how to create conversational interfaces, process user input, and generate natural language responses using OpenAI's powerful ChatGPT language models. You'll also learn how to utilise Next JS edge functions to stream data back from the OpenAI API, exactly the same as how ChatGPT does it!

With MongoDB, you'll learn how to store and retrieve chat history, while implementing Auth0 within your Next JS app will enable you to add user accounts and secure your application with user authentication and authorization. Finally, you'll use Tailwind CSS to create a stunning user interface within Next JS that looks great on any device.

This course is perfect for developers who want to expand their skillset and learn how to build complex web applications using the latest technologies. Whether you're a seasoned web developer or just starting out, the step-by-step approach and easy-to-follow instructions in this ChatGPT clone course with Next.js will help you master the skills you need to build your very own ChatGPT clone.

So why wait? Sign up now and start building your own ChatGPT clone today!

Bạn sẽ học được gì

Increase your value as a web developer by learning how to build AI powered apps

Build a ChatGPT clone with OpenAI and Next JS

Implement user accounts in your Next JS apps with Auth0

Style your Next JS apps with Tailwind CSS

Store chat history for your ChatGPT clone with MongoDB

Deploy to production using Vercel and utilise edge functions to stream data back from OpenAI, just like ChatGPT!

Yêu cầu

  • Basic understanding of React is required - everything else is covered!

Nội dung khoá học

8 sections

Introduction

5 lectures
Important! Read this before you start the course! (Github repo etc)
00:56
Introduction
01:34
Project setup
07:20
Udemy ratings & reviews
00:38
Set up the chat route / page
06:22

Authentication & authorization with Auth0

6 lectures
Set up auth0 for authentication
04:53
Create auth api routes
03:42
Set up the login and logout state
05:15
Style the homepage with tailwind css
07:08
Implement signup functionality
02:26
Redirect to chat page if logged in
03:58

Build out the chat page

3 lectures
Create the basic chat page layout
06:07
Create the ChatSidebar component and add the logout link
02:41
Create the footer and message form
10:53

Build the OpenAI streaming functionality

11 lectures
Create an OpenAI API key
01:42
ISSUES WITH OPENAI
01:42
Create the sendMessage endpoint
04:02
Set up the OpenAI API call
05:00
Stream the OpenAI response on the front end
06:01
Create the Message component and display new messages in chat window
09:27
Finish implementing the Message component styles and logic
07:43
Protect the chat routes and pages so only logged in users can access
05:28
Add the loading state to the form
04:11
Refine the OpenAI prompt
05:13
Fix the footer form position and make chat window scrollable
01:59

Storing chats with MongoDB

15 lectures
Overview of edge functions
07:00
Set up MongoDB Atlas account
08:16
Set up the createChat endpoint
10:29
Test the createChat endpoint
04:33
Create the getChats endpoint
08:13
Render the list of chats in the sidebar
05:07
Style the chat list in the sidebar
06:13
Implement creating a chat in the sendMessage endpoint
05:42
Create the addMessageToChat endpoint
10:52
Navigate to newly created chat page
05:21
Reload chat list on route change
06:01
Load chat messages for a particular chat
05:01
Render chat messages for a particular chat
05:15
Modify the sendMessage endpoint to cater for existing chats
10:51
Implement conversation history in OpenAI
09:58

UI Updates

5 lectures
Fix streaming on wrong chats
06:22
Auto-scroll when there's an incoming message
03:29
Add Google font for our app
04:53
Add missing styles for homepage
04:28
Add UI for new chat
04:48

Validation

4 lectures
Validate chat id for chat id page
04:02
Add validation to sendMessage endpoint
03:01
Add validation to createNewChat endpoint
02:07
Add validation to addMessageToChat endpoint
07:41

Deploy

2 lectures
Deploy to vercel
09:18
BONUS!
00:48

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.