Build AI Chat in ReactJS by using OpenAI api
From ReactJS Example
Install mongodb, run it. brew services start mongodb/brew/mongodb-community mongodb://127.0.0.1:27017/ install mongodb compass Get openai creds Go to https://platform.openai.com/, click the Profile button in the top right corner, select “View API keys” Create the .env file
OpenAI
Vite
Material UI
Mongoose
ExpressJS
Express Validator
React Router
Formik
Yup
Axios
JWT