Skip to content

Jerga99/nextjs-chatGPT

Repository files navigation

Next JS with ChatGPT integration APP

This is an example Next JS with ChatGPT integration app used in the Eincode Youtube Tutorial youtube tutorial. It uses the Next.js framework with React. Check out the tutorial or follow the instructions below to get set up.

Setup

  1. If you don’t have Node.js installed, install it from here (Node.js version >= 14.6.0 required)

  2. Clone or download this repository

  3. Navigate into the project directory

    $ cd nextJS-chatGPT
  4. Install the requirements

    $ npm install
  5. Create a .env file to setup API KEY to OpenAI (explained in the Course)

  6. Add your API key to the newly created .env file

OPENAI_API_KEY=YOUR_KEY

  1. Run the app

    $ npm run dev

You should now be able to access the app at http://localhost:3000! For the full context behind this example app, check out the full course tutorial.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published